Hello, I am trying to setup a gateway mail server using qmail-ldap. I want to use the RCPTCHECK to confirm the existence of a user account before forwarding the email to the Internal Mail Server.
According to the docs on RCPTCHECK: "Note: Only applies to recipients whose domain is listed in ~control/locals. Recipients domains listed in ~control/rcpthosts are allowed without further checks. If RELAYCLIENT is set, all other recipients are allowed as well. Addresses or domains listed in ~control/goodmailaddr are unconditionally allowed in all cases." Current configuration: ~control/locals localhost ~control/rcpthosts foo.com ~control/smtproutes foo.com:[192.168.1.1] Could I do the following?: Domainname: foo.com echo "foo.com" >> ~control/locals echo "foo.com:[192.168.1.1]" > ~control/smtproutes Or would this still attempt to deliver the email locally? Thanks in advance -Eric -- Eric Hoeve
