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@foo.com)
^helpdesk: 10.5.0.7  (email is helpdesk@foo.com)
^nelsonts: 10.5.0.7   (email is nelsonts@fee.net)

Perdition is redirecting them to its proper server according to its login name as I notice. The problem is there are same login name to other local server. Like the sample above. There are nelsonts in 10.5.0.1 and 10.5.0.7.
If I will used nelsonts@foo.com. Of course, my login name is nelsonts. it will redirect me to 10.5.0.1. But if I used nelsonts@fee.net, it will also redirect me to 10.5.0.1 since it was read first in popmap.re which suppose to be in 10.5.0.7.

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.

Just incase it cannot be done, could you suggest other alternatives to do this or any software/plugins that are capable of doing this. I hope perdition has this features since we been using them for almost 9 years.





----- Original Message ----
From: Chris Stratford <chris.stratford@pipex.net>
To: Nelson Serafica <ntserafica@yahoo.com>
Cc: perdition-users@vergenet.net
Sent: Wednesday, September 5, 2007 4:33:25 PM
Subject: Re: [PERDITION-USERS] multiple domains and local servers

On Tue, 2007-09-04 at 20:56 -0700, Nelson Serafica wrote:

> Here is my popmap.re
>
> nelsonts@foo.com         nelsonts@10.5.0.1
> nelsonts@fee.net           nelsonts@10.5.0.8
>
> foo.com >> 64.5.4.7 (sample IP only)
> fee.net >> 64.5.4.7 (sample IP only)
>
> When I tried to use Outlook, I input in my incoming  64.5.4.7, email
> add is nelsonts@foo.com , Account nelsonts and  I successfully get my
> email under foo.com. But when I tried the email add nelsonts@fee.net
> using incoming 64.5.4.7 and Account nelsonts, I get the email under my
> nelsonts@foo.com account which suppose to be nelsonts@fee.net

I would advise testing without Outlook just to keep things simple (MUAs
and Outlook in particular have a nasty habit of doing what they think
you wanted rather than what you actually wanted).

I'm unclear exactly what login name you have used, above.  With the
above config, if you telnet to 64.5.4.7 on port 143 and log in manually
with "1 login nelsonts@foo.com mypass" I would expect Perdition to
connect to 10.5.0.1 with user name nelsonts.  If you log in with "1
login nelsonts@fee.net mypass" you should end up on 10.5.0.8.

If you just login with "1 login nelsonts mypass" which server you end up
on will depend on the reverse DNS entry for 64.5.4.7.  If it is
something like "imap.foo.com" then the login name will get translated to
nelsonts@foo.com, if it's "imap.fee.net" then the login name becomes
"nelsonts@fee.net".

If I understood your original query correctly, you wanted different IP
addresses to map to different back-end servers, so you would really want
imap.foo.com on one address and imap.fee.com on another rather than them
both on the same IP address.  Alternatively, if all of your users log in
with a full "user@domain" like your example, then you don't need the
different IPs, as the domain they provide will override the IP lookup.

    Chris.




Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com