Dear all,

My question is a bit of general one. Sorry for off topic if any. I would highly 
appreciate any feedback or URLs for further reading.
I'm planning to migrate my mail server from iPlanet Messaging Server (which 
includes iPlanet Directory Server) to qmail-ldap.

Here is my setup:

I have two domains: first one is a corporative domain - domain1.org. iPlanet 
Messaging Server is responsible for this domain - there is a central LDAP 
server placed at headquarters configured for daily synchronization with our 
LDAP server which consists of local domain1.org users. If someone from outside 
sends a message to [EMAIL PROTECTED] the message passes through 
headquarters iPlanet Messaging Server then goes to our iPlanet Messaging Server 
which finally checks a user through LDAP and forwards email to the internal 
mail server (through LDAP's alias record). domain1.org mail server is 
configured to accept mail _only_ from the headquarters' mail server.

Second domain is a regular one with no LDAP authorization - domain2.org, 
resides on internal mail server powered by sendmail and configured to accept 
mail from anywhere. This is the place where users are authenticated, so if 
someone sends a message either to [EMAIL PROTECTED] or 
[EMAIL PROTECTED] the message will end up at this server.

The question is - is it possible to simulate the same behavior with qmail-ldap? 
I'm planning to setup external qmail-ldap mail server configured to accept both 
domain1.org and domain2.org mail messages (with antivirus/antispam protection) 
and forward all emails to the internal server. So, as far as I understood, I 
have to install OpenLDAP + qmail-ldap on the external server, update OpenLDAP 
server with my scheme, but should I have two instances of qmail running? I 
think about two network interfaces - one NIC will be responsible for 
domain1.org, another one for domain2.org - both should simply forward all 
incoming emails to the internal mail server. Is it possible to have such system 
working? I would really appreciate any suggestions or comments!

Thank you in advance!
Roman

Reply via email to