Nicolás Velásquez O. wrote:
Hello,

I've googled around and been playing with relay_recipient_maps. I have
it as follows:
relay_recipient_maps =
       hash:/etc/postfix/LDAPaddressbook.txt
       ldap:/etc/postfix/ldap-users.cf

Where /etc/postfix/LDAPaddressbook.txt is a local list of the valid
mailboxes, and ldap:/etc/postfix/ldap-users.cf contains information to
query the LDAP server for the list of valid email boxes.

The postfix works as a relay/antispam server.

The question:
If there is a mail to be delivered to a nonexistent mailbox, is it
normal to see postfix asking via SMTP (after LDAP) to the next-hop in
/etc/postfix/transport?


It will help if you show "postconf -n" output and log entries illustrating your question.
http://www.postfix.org/DEBUG_README.html#mail

As a side note that may or may not be relevant, postfix will attempt to validate recipients via an SMTP callout if you use the reject_unverified_recipient restriction.
http://www.postfix.org/ADDRESS_VERIFICATION_README.html

--
Noel Jones

Reply via email to