Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bounces are not sent sometimes.

37 views
Skip to first unread message

Patrik Båt

unread,
Jul 3, 2014, 6:19:27 AM7/3/14
to
Hello list!

I'm having problem with a bounce that was never send to the sender.

Here is the log when it fails:
Jul  2 13:03:05 smtp9 postfix-out/qmgr[5316]: 575C227A388: from=<cust...@domain1.tld>, size=125355, nrcpt=1 (queue active)
Jul  2 13:03:05 smtp9 postfix-out/smtp[8391]: 575C227A388: to=<user...@domain2.tld>, relay=none, delay=0.11, delays=0.01/0/0.1/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=domain2.tld type=AAAA: Host not found)
Jul  2 13:03:05 smtp9 postfix-out/qmgr[5316]: 575C227A388: removed

And here is a log when it works (same rcpt):
Jul  3 10:41:17 smtp9 postfix-out/qmgr[25574]: 1CE9A27A4CB: from=<m...@domain1.tld>, size=8514, nrcpt=1 (queue active)
Jul  3 10:41:17 smtp9 postfix-out/smtp[24245]: 1CE9A27A4CB: to=<user...@domain2.tld>, relay=none, delay=0, delays=0/0/0/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=domain2.tld type=AAAA: Host not found)
Jul  3 10:41:17 smtp9 postfix-out/bounce[11424]: 1CE9A27A4CB: sender non-delivery notification: 1E32427A509
Jul  3 10:41:17 smtp9 postfix-out/qmgr[25574]: 1CE9A27A4CB: removed

Can it somehow be a bug or related somehow to the sender? (there is 2 different senders, but from the same domain)
What I can see, the differences between the emails is the SIZE, one need truncating and the other doesn’t. might that be a problem?

Bounce configuration:
smtp9:~# postconf -c /etc/postfix-outgoing | grep bounce
2bounce_notice_recipient = postmaster
address_verify_sender = $double_bounce_sender
backwards_bounce_logfile_compatibility = yes
bounce_notice_recipient = postmaster
bounce_queue_lifetime = 5d
bounce_service_name = bounce
bounce_size_limit = 50000
bounce_template_file =
disable_verp_bounces = no
double_bounce_sender = double-bounce
lmtp_sasl_auth_soft_bounce = yes
multi_recipient_bounce_reject_code = 550
smtp_sasl_auth_soft_bounce = yes
soft_bounce = no

Im using postfix 2.9.6 from debian wheezy repo:
smtp9:~# dpkg --list | grep postfix
ii  postfix                              2.9.6-2                            amd64        High-performance mail transport agent
ii  postfix-mysql                        2.9.6-2                            amd64        MySQL map support for Postfix
ii  postfix-pcre                         2.9.6-2                            amd64        PCRE map support for Postfix

Any thoughts or ides are welcome!

signature.asc

Wietse Venema

unread,
Jul 3, 2014, 6:53:11 AM7/3/14
to
Patrik B?t:
> I'm having problem with a bounce that was never send to the sender.
>
> *Here is the log when it fails:*
> Jul 2 13:03:05 smtp9 postfix-out/qmgr[5316]: 575C227A388:
> from=<cust...@domain1.tld>, size=125355, nrcpt=1 (queue active)
> Jul 2 13:03:05 smtp9 postfix-out/smtp[8391]: 575C227A388:
> to=<user...@domain2.tld>, relay=none, delay=0.11, delays=0.01/0/0.1/0,
> dsn=5.4.4, status=bounced (Host or domain name not found. Name service
> error for name=domain2.tld type=AAAA: Host not found)
> Jul 2 13:03:05 smtp9 postfix-out/qmgr[5316]: 575C227A388: removed
>
> *And here is a log when it works (same rcpt):*

This could be because:

0) The sender is <>.

1) The sender sent mail with "RCPT TO: <address> NOTIFY=NONE".

2) You are using a Milter application that adds a recipient with
"NOTIFY=NONE".

2.5) I vaguely recall that old Postfix milter clients always used
"NOTIFY=NONE" when adding a recipient, but I may be mistaken.

3) You are using an older Postfix implementation that always used
"NOTIFY=NONE" when adding a BCC recipient.

Wietse

Wietse Venema

unread,
Jul 3, 2014, 6:56:53 AM7/3/14
to
Wietse Venema:
4) You are using MailScanner or other software that manipulates
Postfix queue files. This is not supported.

Wietse

Wietse Venema

unread,
Jul 3, 2014, 7:10:04 AM7/3/14
to
Wietse Venema:
The behavior in 3) exists in all stable Postfix releases. This
is documented behavior.

Wietse

Patrik Båt

unread,
Jul 3, 2014, 8:29:36 AM7/3/14
to
Hello, Thanks for clearing this out, Wietse!

signature.asc
0 new messages