Wietse Venema wrote:
Per olof Ljungmark:
Our MX's use a LDAP directory to lookup valid addresses. Now, if this directory for some reason becomes temporarily unavailable, postfix will return a 5xx error for ALL incoming messages.

Sorry, that is a well-known bug in YOUR SYSTEM LIBRARY.

Postfix uses the SYSTEM LIBRARY function getpwnam() to look up the
user name, and when LDAP is busted, YOUR SYSTEM LIBRARY getpwnam()
returns that the user does not exist.

So please gt get YOUR SYSTEM LIBRARY fixed and all will be well.
There is ni way that Postfix can determine tat the SYSTEM LIBRARY
function getpwnam() falsely claims that the user does not exist.

I may be out on a limb here but what system library?

Postfix is configured to use LDAP, in this particular case the LDAP server is unavailable. Is the system (in this case FreeBSD) library then responsible for the error?

In any case, this is the log from an occurance of the problem in question:

May 20 09:59:24 <host> postfix/smtpd[77250]: NOQUEUE: reject: RCPT from <sender>[IP.HERE]: 550 5.1.1 <f...@address>: Recipient address rejected: User unknown; from=<from> to=<t...@address> proto=ESMTP helo=<lap02le>


Reply via email to