Is this possible? I will be running 3 perdition running with their own config in the same machine.
60.4.5.1 (110/143 ports)
60.4.5.2 (110/143 ports)
60.4.5.3 (110/143 ports)
The difference is they will be having their own copy of config of perdition.imap4.conf and perdition.pop3.conf. such as perdition.imap5.conf, perdition.imap6.conf and so forth
I have created /usr/sbin/perdition.imap5, create perdition.imap5.conf and input imap5 in /etc/sysconfig/perdition but when I restart the perdition, there's no imap5 running.
I'm thinking of these alternatives to my previous emails here in the mailing lists.
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com
Dear all,
hi..i want to setup perdition server before 2 sendmail with openwebmail servers.
But there are 200 users divided into 2 different sendmail servers A & B..
...so..i made 2 text files /etc/sendmailA.txt and /etc/sendmailB.txt which are
marked down which users are mapped to certain servers...
but...in your "popmap.re" example, there are only divided character starting
from A to F will map to server A and others will map to server B...but..I can't
divide the user in this way...I must map those user from /etc/sendmailA.txt
& /etc/sendmailB.txt ...then how to check user login name from
both "/etc/sendmailA.txt & sendmailB.txt" in popmap.re ....
thx for your attention and patience...
regards,
winnie
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
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.
I just add serverA,serverB and serverC in the outgoing_server of the perdition.imap.conf. Is this correct?
----- Original Message ----
From: Chris Stratford <chris.stratford(a)pipex.net>
To: Nelson Serafica <ntserafica(a)yahoo.com>
Cc: perdition-users(a)vergenet.net
Sent: Monday, September 3, 2007 5:15:10 PM
Subject: Re: [PERDITION-USERS] multiple domains and local servers
On Sun, 2007-09-02 at 18:55 -0700, Nelson Serafica wrote:
> I'm setting up a mail server but don't know if perdition can do this.
It can.
> I have a front server and 5 local server. Front server has 3 public
> ip's. Can I designate different domains per public IP basis? Let's say
> the public IP:
>
> 64.0.2.6 (domain X) to local server A
> 64.0.2.7 (domain Y) to local server B
> 64.0.2.8 (domain Z) to local server C
>
> So here's the questions:
>
> Can all these public IP listen to port 110/143 at the same time?
> If someone email to domain X, it will listen to 64.0.2.6 port 110/143
> and transferred it to local server A?
Perdition should listen on all interfaces by default, so that part isn't
a problem.
You would then need to add "add_domain servername_lookup" into your
config file(s) which will convert "USER eric" into "USER
eric(a)64.0.2.6" (or .2.7 or .2.8 depending on which IP address they
connected to).
Finally you will need some sort of username to server map. For
something as simple as this layout, regular expressions might be the way
to go, so you will want something like these in your config files(s):
map_library /usr/lib/libperditiondb_posix_regex.so
map_library_opt /etc/popmap.re
And something like this in popmap.re:
(.*)(a)64.0.2.6 $1@serverA
(.*)(a)64.0.2.7 $1@serverB
(.*)(a)64.0.2.8 $1@serverC
That should be about it. I've never tried using the regex library
myself, so that last bit might be wrong, but the general idea should be
okay.
Chris.
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com
I'm setting up a mail server but don't know if perdition can do this.
I have a front server and 5 local server. Front server has 3 public ip's. Can I designate different domains per public IP basis? Let's say the public IP:
64.0.2.6 (domain X) to local server A
64.0.2.7 (domain Y) to local server B
64.0.2.8 (domain Z) to local server C
So here's the questions:
Can all these public IP listen to port 110/143 at the same time?
If someone email to domain X, it will listen to 64.0.2.6 port 110/143 and transferred it to local server A?
____________________________________________________
Tired of spam? Yahoo! Mail has the best spam protection around
http://ph.mail.yahoo.com