Your right If i used these setup. I'll be having no problem.
^nelsonts(a)foo.com: 10.5.0.1
^helpdesk(a)foo.com: 10.5.0.1
^nelsonts(a)fee.com: 10.5.0.7
But the problem is I cannot append a domain in the Account Name of my server. I have tried
that and it didn't work. It only works if I put nelsonts but if I input
nelsonts(a)foo.com or any domain, it don't work. I think only valid input is the Account
Name in my Mail server such as nelsonts. Here is my some alternatives:
1. Multiple copies of perdition running having their own config each bind to specific IP.
Is this possible? I have tried bind_address but it didn't work if I tried to bind to
two IP. I have input bind_address 10.6.5.4 and bind_address 10.6.5.5 in the conf file but
when do netstat, it only sees 10.6.5.5
2. Change the Account Name of the existing user. Instead of nelsonts. I need to change
them to nelsonts@foo or nelsonts(a)foo.com....... Any idea how to do this? If I can do
these, everything will be smooth.
What would you suggest?
----- Original Message ----
From: Chris Stratford <chris.stratford(a)pipex.net>
To: Nelson Serafica <ntserafica(a)yahoo.com>
Cc: perdition-users(a)vergenet.net
Sent: Thursday, September 6, 2007 4:35:24 PM
Subject: Re: [PERDITION-USERS] multiple domains and local servers
On Wed, 2007-09-05 at 19:12 -0700, Nelson Serafica wrote:
Thanks Chris for all the replies. I can now login in
POP/IMAP in my
IP. It almost solve my problem but still there are some glitch. I'm
not sure if this can be done in regex or whatever. Here is my
popmap.re:
^nelsonts: 10.5.0.1 (email is nelsonts(a)foo.com)
^helpdesk: 10.5.0.7 (email is helpdesk(a)foo.com)
^nelsonts: 10.5.0.7 (email is nelsonts(a)fee.net)
...
Is there an other way for me to forward this to
10.5.0.7?
Is it possible to read the email address instead of login name?
popmap.re will rely in domain and not in login name.
Your previous popmap.re was better for this. Try something like:
^nelsonts(a)foo.com: 10.5.0.1
^helpdesk(a)foo.com: 10.5.0.7
^nelsonts(a)fee.com: 10.5.0.7
(By the way, if you are planning to do this on a per-user basis, one of
the DB backends might be better than regex - I thought originally you
wanted all of the @foo.com addresses to go to 10.5.0.1 and the @fee.net
ones to go to 10.5.0.7)
With this, if you login with "nelsonts(a)foo.com" you end up at 10.5.0.1.
if you login with nelsonts(a)fee.net you end up at 10.5.0.7. Now the fun
starts...
Your perdition server has three addresses (from your other email):
60.4.5.1
60.4.5.2
60.4.5.3
If the reverse DNS for these addresses is set up as something like this:
60.4.5.1
imap.foo.com
60.4.5.2
imap.fee.net
60.4.5.4
imap.something.else.com
If you connect to 60.4.5.1 and log in with just "nelsonts" Perdition
will do a reverse lookup against the interface you connected to (in this
case finding
imap.foo.com), remove the first bit (this is configurable)
and append the rest to the login name (assuming you still have
"add_domain servername_lookup" in your config file) leaving you with
"nelsonts(a)foo.com".com".
If you connect to the other addresses it would add "fee.net" or
"something.else.com" as appropriate.
Note: The reverse DNS *must* be set up for this to work. Without that,
you would only be able to use "nelsonts(a)fee.net" style logins (unless
you run multiple copies of Perdition, as you suggest in your other
mail).
I think that's what you're trying to achieve.
Chris.
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com