Here is my perdition.imap4.conf.
add_domain servername_lookup
connection_logging
domain_delimiter @
F /var/log/perdition
g perdition
imap_capability IMAP4REV1
map_library /usr/lib/libperditiondb_posix_regex.so
map_library_opt /etc/perdition/popmap.re
server_resp_line
P IMAP4
u perdition
Here is my popmap.re
nelsonts(a)foo.com nelsonts(a)10.5.0.1
nelsonts(a)fee.net nelsonts(a)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(a)foo.com , Account nelsonts and I successfully get my email under
foo.com. But
when I tried the email add nelsonts(a)fee.net using incoming 64.5.4.7 and Account nelsonts,
I get the email under my nelsonts(a)foo.com account which suppose to be nelsonts(a)fee.net
It seems it did not redirect to server 10.5.0.8 when I tried to used nelsonts(a)fee.net. Is
there something wrong in my popmap.re or perdition.imap4.conf? Both server has account
nelsonts
----- Original Message ----
From: Chris Stratford <chris.stratford(a)pipex.net>
To: Nelson Serafica <ntserafica(a)yahoo.com>
Cc: perdition-users(a)vergenet.net
Sent: Tuesday, September 4, 2007 4:33:10 PM
Subject: Re: [PERDITION-USERS] multiple domains and local servers
On Mon, 2007-09-03 at 22:44 -0700, Nelson Serafica wrote:
So you mean I will just remove the hashmark in
add_domain
servername_lookup and add:
(.*)(a)64.0.2.6 $1@serverA
(.*)(a)64.0.2.7 $1@serverB
(.*)(a)64.0.2.8 $1@serverC
to popmap.re? server A is the local server and 64.0.2.6 is the public.
Same goes to other IPs.
Come to think of it, you might not even need the "$1@" part, but I've
not tried it that way.
I just add serverA,serverB and serverC in the
outgoing_server of the
perdition.imap.conf. Is this correct?
Oh yes, I forgot that bit. You won't need outgoing_server, because it
should get the details from the popmap.re lookup.
Our system setup is a little different from yours, but our
perdition.imap4.conf file (minus a few irrelevant bits) might help:
add_domain servername_lookup
no_bind_banner
domain_delimiter @
group nogroup
map_library /usr/local/perdition/lib/libperditiondb_bdb.so
map_library_opt /usr/local/perdition/etc/popmap.db
timeout 1800
username nobody
username_from_database
We use BerkeleyDB lookups instead of regex and our login names get
changed on the way through the system, but the basic idea is the same.
The popmap.db file has entries that look a bit like this:
user1(a)domain1.com mailbox1@server1
user2(a)domain1.com mailbox2@server5
user3(a)domain3.com mailbox9@server1
Our real IMAP server expects to see mailbox1, mailbox2, etc. as login
names, but as you are probably not doing this, you can omit
"username_from_database".
Chris.
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com