Dear all,
a) I have a very strange problem with postfix, it worked for more than
one year without problem, and now, for about one month some incoming
emails started to fail in the night (approx. between 4AM and 5AM) but
not every day, with errors like :
* Out: 451 4.3.0 <em...@domain.ch>: Temporary lookup failure
* Out: 451 4.3.0 Error: queue file write error
It's very strange for me, therefore any help on that subject would be
greatly appreciated !
b) I found this interesting link, but it doesn't contain a solution, it
just says "sending server will anyway retry later" :
http://flakshack.com/anti-spam/wiki/index.php?page=Queue+File+Write+Errors
c) More info :
That's what I see in the logs approximately at the same time these
errors are seen :
Jun 11 04:45:21 cirrus postfix/trivial-rewrite[3636]: warning:
dict_ldap_connect: Unable to bind to server ldap://localhost:389 as
cn=****, ou=****
, dc=hsolutions, dc=ch: -5 (Timed out)
Jun 11 04:45:25 cirrus postfix/trivial-rewrite[3648]: warning:
dict_ldap_connect: Unable to bind to server ldap://localhost:389 as
cn=****, ou=****, dc=hsolutions, dc=ch: -5 (Timed out)
Jun 11 04:45:26 cirrus postfix/smtpd[3411]: warning: dict_ldap_lookup:
Search error -5: Timed out
or :
Jun 11 04:46:14 cirrus postfix/trivial-rewrite[3636]: fatal:
ldap:/etc/postfix/ldap-aliases.cf(0,lock|fold_fix): table lookup problem
Jun 11 04:46:20 cirrus postfix/trivial-rewrite[3648]: fatal:
ldap:/etc/postfix/ldap-aliases.cf(0,lock|fold_fix): table lookup problem
or:
Jun 11 04:46:30 cirrus postfix/master[17478]: warning: process
/usr/libexec/postfix/trivial-rewrite pid 3636 exit status 1
Jun 11 04:46:31 cirrus postfix/master[17478]: warning:
/usr/libexec/postfix/trivial-rewrite: bad command startup -- throttling
Jun 11 04:46:32 cirrus postfix/master[17478]: warning: process
/usr/libexec/postfix/trivial-rewrite pid 3648 exit status 1
or even :
Jun 11 04:47:08 cirrus postfix/smtpd[3639]: warning: dict_ldap_lookup:
Search error -5: Timed out
Jun 11 04:47:09 cirrus postfix/trivial-rewrite[3481]: warning:
dict_ldap_lookup: Search error -5: Timed out
Jun 11 04:47:11 cirrus postfix/cleanup[3447]: warning: dict_ldap_lookup:
Search error -5: Timed out
Jun 11 04:47:12 cirrus postfix/smtpd[3639]: NOQUEUE: reject: RCPT from
host[IP]: 451 4.3.0 <em...@domain.ch>: Temporary lookup failure;
from=<owner-seli...@tarius.tycho.ncsc.mil> to=<em...@domain.ch>
proto=SMTP helo=<mail184.messagelabs.com>
Jun 11 04:47:13 cirrus postfix/trivial-rewrite[3481]: fatal:
ldap:/etc/postfix/ldap-domains.cf(0,lock|fold_fix): table lookup problem
Jun 11 04:47:14 cirrus postfix/cleanup[3447]: warning: 8E616B80020:
virtual_alias_maps map lookup problem for r...@host
Jun 11 04:47:15 cirrus postfix/pickup[3593]: 8C561B80020: uid=0 from=<root>
Jun 11 04:47:16 cirrus postfix/cleanup[3447]: 8C561B80020:
message-id=<20100611024715.8c561b80...@host>
Jun 11 04:47:16 cirrus postfix/cleanup[3750]: warning: problem talking
to service rewrite: Connection reset by peer
Jun 11 04:47:16 cirrus postfix/master[17478]: warning: process
/usr/libexec/postfix/trivial-rewrite pid 3481 exit status 1
Jun 11 04:47:34 cirrus postfix/qmgr[17481]: 2916A7C0006:
from=<postmas...@domain.ch>, size=13273, nrcpt=1 (queue active)
Jun 11 04:47:40 cirrus postfix/cleanup[3761]: A0A18B8002E:
message-id=<20100611024714.a0a18b80...@host>
Jun 11 04:47:41 cirrus postfix/smtpd[3639]: disconnect from
mail184.messagelabs.com[193.109.254.3]
Jun 11 04:47:49 cirrus postfix/cleanup[3750]: warning: dict_ldap_lookup:
Search error -5: Timed out
Jun 11 04:47:49 cirrus postfix/cleanup[3750]: warning: A16B9B8000B:
virtual_alias_maps map lookup problem for em...@domain.ch
Jun 11 04:47:49 cirrus postfix/qmgr[17481]: A0A18B8002E:
from=<double-bou...@host>, size=778, nrcpt=1 (queue active)
Jun 11 04:47:59 cirrus postfix/trivial-rewrite[3764]: warning:
dict_ldap_lookup: Search error -5: Timed out
Jun 11 04:48:00 cirrus postfix/trivial-rewrite[3764]: fatal:
ldap:/etc/postfix/ldap-aliases.cf(0,lock|fold_fix): table lookup problem
Jun 11 04:48:01 cirrus postfix/trivial-rewrite[3768]: warning:
dict_ldap_connect: Unable to bind to server ldap://localhost:389 as
cn=mailadmin, ou=***, dc=***, dc=ch: -5 (Timed out)
Jun 11 04:48:01 cirrus postfix/trivial-rewrite[3768]: fatal:
ldap:/etc/postfix/ldap-aliases.cf(0,lock|fold_fix): table lookup problem
Jun 11 04:48:01 cirrus postfix/cleanup[3762]: warning: problem talking
to service rewrite: Connection reset by peer
Jun 11 04:48:01 cirrus postfix/master[17478]: warning: process
/usr/libexec/postfix/trivial-rewrite pid 3764 exit status 1
Jun 11 04:48:04 cirrus postfix/master[17478]: warning: process
/usr/libexec/postfix/trivial-rewrite pid 3768 exit status 1
Thanks a lot in advance for any help !
Denis