On Fri, 4 Sep 2009, Jozsef Kadlecsik wrote:

> On Fri, 4 Sep 2009, Wietse Venema wrote:
> 
> > Postfix logs all deliveries - deliveries not made are not logged.
> 
> We cannot find the messages in the mail queue either.
> 
> The client machine is switched off for the weekend, but we enabled peer 
> debugging for it. So on Monday hopefully we'll have debug logs.

The debug log shows that it's a client issue. When the second soft error 
is returned to the client in a multi-recipient session, it simply quits:

Sep  7 08:40:46 smtp1 postfix/smtpd[4908]: < xxxx[yyyy]: RCPT 
TO:<misty...@domain>
....
Sep  7 08:40:46 smtp1 postfix/smtpd[4908]: 110EB188080: reject: RCPT from 
xxxx[yyyy]: 450 4.1.2 <misty...@domain>: 
Recipient address rejected: Domain not found; from=<u...@address> 
to=<misty...@domain> proto=ESMTP helo=<helo.name>
Sep  7 08:40:46 smtp1 postfix/smtpd[4908]: generic_checks: 
name=reject_unknown_recipient_domain status=2
Sep  7 08:40:46 smtp1 postfix/smtpd[4908]: > xxxx[yyyy]: 
450 4.1.2 <misty...@domain>: Recipient address rejected: 
Domain not found
Sep  7 08:40:46 smtp1 postfix/smtpd[4908]: watchdog_pat: 0x8ff68f8
Sep  7 08:40:50 smtp1 postfix/smtpd[4908]: < xxxx[yyyy]: 
RSET
Sep  7 08:40:50 smtp1 postfix/smtpd[4908]: > xxxx[yyyy]: 
250 2.0.0 Ok
....
Sep  7 08:40:51 smtp1 postfix/smtpd[4908]: < xxxx[yyyy]: RCPT 
TO:<misty...@domain>
....
Sep  7 08:40:51 smtp1 postfix/smtpd[4908]: 1C223188080: reject: RCPT from 
xxxx[yyyy]: 450 4.1.2 <misty...@domain>: 
Recipient address rejected: Domain not found; from=<u...@address> 
to=<misty...@domain> proto=ESMTP helo=<helo.name>
Sep  7 08:40:51 smtp1 postfix/smtpd[4908]: generic_checks: 
name=reject_unknown_recipient_domain status=2
Sep  7 08:40:51 smtp1 postfix/smtpd[4908]: > xxxx[yyyy]: 
450 4.1.2 <misty...@domain>: Recipient address rejected: 
Domain not found
Sep  7 08:40:51 smtp1 postfix/smtpd[4908]: watchdog_pat: 0x8ff68f8
Sep  7 08:40:51 smtp1 postfix/smtpd[4908]: < xxxx[yyyy]: 
QUIT
Sep  7 08:40:51 smtp1 postfix/smtpd[4908]: > xxxx[yyyy]: 
221 2.0.0 Bye

The policy daemon is naturally called for every envelope and it logs all 
of it. However, because the client leaves before sending DATA, Postfix 
does not log the sender/recipient addresses. That fully explains the 
difference between the two logs.

Such client behaviour simply did not occur to me.

Best regards,
Jozsef
-
E-mail  : kad...@blackhole.kfki.hu, kad...@mail.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary

Reply via email to