Andreas
On Thu, 26 May 2005, Andy Milleville wrote: > Date: Thu, 26 May 2005 14:35:41 -0700 > From: Andy Milleville <[EMAIL PROTECTED]> > To: [email protected] > Subject: New install problems > > OK, I've devoted about the last four or five days to installing and > configuring this beast. I have one question that I can't find an answer to. > > In what configuration file, environment variable, or other flag do I put the > instruction to get the q-mail server to relay the mail to? > > In other words, we have two qmail servers, and one ldap server (for now). > Both are built with qmail-ldap. One (called doc) sits in the DMZ and is > Internet-facing. It just runs qmail and qmail-smtpd. The other (sneezy) is > strictly internal, and runs qmail, qmail-pop3d, openldap, and qmail-smtpd. I > have holes poked through the firewall so it can talk to the server on the > inside on 389 and 25. > > What I want to do is have doc receive a piece of mail, lookup in LDAP which > pop toaster it needs to forward the mail to, and then do it. Everything > looks like it's working perfectly. qmail-ldaplookup queries and returns the > proper information, but it always tries to deliver the mail locally. I don't > know if I'm missing an attribute in ldap or I'm missing a qmail config file. > On the server that you don't want mail to be delivered locally, do NOT put the domain in ~/control/locals, rather just put the domain in ~control/rcpthosts, so it will accept the mail, then qmail-queue will take over and forward it on to your other host (which should have your domain in ~/control/locals) Andreas
