Thank you Chris!

Please find my comments below.

Quoting Chris Wilkes <[EMAIL PROTECTED]>:
> On Mon, Feb 23, 2004 at 11:54:32AM +0500, Roman Serbski wrote:
> > 
> > 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? 
> 
> If you're just going to have a qmail server that acts as like an SMTP
> proxy, just install plain qmail, tell it to accept email for domain1.org
> and domain2.org and then put in smtproutes (or specific virtualdomains
> if you want to route for individual users) to the "real" servers.

Yes, it's ok for domain2.org.
As for domain1.org, sorry I didn't explain the problem properly. domain1.org 
doesn't below to me. My iPlanet Messaging Server has a name set to 
smtp.CountryCode.domain1.org and is responsible for CountryCode.domain1.org 
domain name. According to the CountryCode and "ou" "mailHost" LDAP fields mail 
server at headquarters decides which mail server all incoming emails should be 
delivered to.

> I'm not sure what you need qmail-ldap for in this situation as you're
> just going to forward all the mail anyway.  Were you going to check and
> see if it is a legitimate account before forwarding it?  You might want
> to look into a 'goodrcptto' patch and create that file several times
> during the day.

Exactly! Can I check a legitimate account without having qmail-ldap making LDAP 
queries? And is it possible to configure qmail to accept domain1.org emails 
from the list of IPs and at the same time accept domain2.org emails from 
anywhere?

> Chris

Thank you! It really helps.
Roman

Reply via email to