> When delivery fails, the queue manager tries to contact the bounce
> service to send a bounce reporting errors for one or more recipients.
> This fails for some reason.  Perhaps a problem with "master.cf", or some
> problem with permissions (selinux or apparmor), ...

Other bounces work ok, but read on...

> These are not necessarily all the relevant logs.  You
> should look for logs from the bounce(8) service at the
> same time.

Nothing, all entries from postfix/bounce look like:

Dec 10 08:32:34 mx01 postfix/bounce[2903427]: 4dR6r16gg0z2xXc: sender 
non-delivery notification: 4dR6r25jXMz2xqZ
Dec 10 08:38:50 mx01 postfix/bounce[2903594]: 4dR6zF1D3wz2xWY: sender delivery 
status notification: 4dR6zG1xJqz2xXm

> How about "panic"?  In any case, this is a local matter, unrelated to
> any remote systems.

None.

I guess the issue is due to:
============================

internal_mail_filter_classes = bounce

which subjects the "spammy" bounce mails to the rspamd filter which
outright rejects them.

When running "bounce" with "-v" I noticed this:

Dec  9 15:18:49 mx01 postfix/bounce[2494718]: public/cleanup socket: wanted 
attribute: (list terminator)
Dec  9 15:18:49 mx01 postfix/bounce[2494718]: input attribute name: (end)
Dec  9 15:18:49 mx01 postfix/bounce[2494718]: send attr status = 8 
Dec  9 15:18:49 mx01 postfix/bounce[2494718]: master_notify: status 1
Dec  9 15:18:49 mx01 postfix/bounce[2494718]: connection closed
Dec  9 15:18:49 mx01 postfix/bounce[2494727]: public/cleanup socket: wanted 
attribute: status
Dec  9 15:18:49 mx01 postfix/bounce[2494727]: input attribute name: status
Dec  9 15:18:49 mx01 postfix/bounce[2494727]: input attribute value: 8
Dec  9 15:18:49 mx01 postfix/bounce[2494730]: public/cleanup socket: wanted 
attribute: status
Dec  9 15:18:49 mx01 postfix/bounce[2494727]: public/cleanup socket: wanted 
attribute: (list terminator)
Dec  9 15:18:49 mx01 postfix/bounce[2494727]: input attribute name: reason
Dec  9 15:18:49 mx01 postfix/bounce[2494730]: input attribute name: status
Dec  9 15:18:49 mx01 postfix/bounce[2494727]: input attribute value: 5.7.1 Spam 
message rejected


-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration
  Invalidenstraße 120/121 | D-10115 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [email protected] | https://www.charite.de
            
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to