Check the error logs on the LDAP server. If the server crashes and
restarts, courierldapaliasd waits a minute before restarting; in the mean
time deferring all mail with a 400.
Is the deferring down locally (courier accepts and tests later), or
denied and the remote server/client is expected to resend? The later
presents an issue with relaying for clients, as they will receive an
error.
The LDAP server has been running since Aug 06, with no signs of going
down. Below are some log files from Error 400 instances.
[400 w/ SMTP Error 502]
-----------------------
Aug 14 22:45:50 mail courieresmtpd: started,ip=[::ffff:$IP_ADDR]
Aug 14 22:45:50 mail courieresmtpd:
error,relay=::ffff:$IP_ADDR,ident=root,from=<owne...@OpenLDAP.org>,to=<mdfw...@pioneerbible.org>:
400 Service temporarily unavailable.
Aug 14 22:45:58 mail courieresmtpd:
error,relay=::ffff:$IP_ADDR,ident="root",msg="502 ESMTP command
error",cmd: DATA
Aug 14 22:57:48 mail courieresmtpd: started,ip=[::ffff:$IP_ADDR]
Aug 14 22:57:49 mail courieresmtpd:
error,relay=::ffff:$IP_ADDR,ident=root,from=<owne...@OpenLDAP.org>,to=<mdfw...@pioneerbible.org>:
400 Service temporarily unavailable.
Aug 14 22:57:57 mail courieresmtpd:
error,relay=::ffff:$IP_ADDR,ident="root",msg="502 ESMTP command
error",cmd: DATA
[400 w/ no SMTP Error]