We have a server that has Postfix configured to use a relayhost for all
mail delivery.  All system mail is handed off to the relay host which
then takes over handling for the eventual final delivery.

Today, we had an email message generated by this server that was too
large for handing over to the relayhost and the local server logged 
that its message was bounced.

It then sent a bounce message to root's mailbox.  The bounce message
included a delivery report and the undelivered message headers.
However, the rest of the original email was removed.

Aug 22 16:54:46 localserver postfix/pickup[2161189]: 6420F801644C: uid=0 
from=<root>
Aug 22 16:54:46 localserver postfix/cleanup[2190747]: 6420F801644C: 
message-id=<20240822215446.6420F801644C@localserver.internaldomain>
Aug 22 16:54:46 localserver postfix/qmgr[1698]: 6420F801644C: 
from=<root@localserver.internaldomain>, size=70359921, nrcpt=1 (queue active)
Aug 22 16:54:46 localserver postfix/smtp[2190752]: 6420F801644C: 
to=<sysadmin@internaldomain>, relay=relayhost[192.168.0.14]:25, delay=0.69, 
delays=0.64/0.04/0.01/0, dsn=5.3.4, status=bounced (message size 70359921 
exceeds size limit 52428800 of server relayhost[192.168.0.14])
Aug 22 16:54:46 localserver postfix/cleanup[2190747]: AD7FD801644E: 
message-id=<20240822215446.AD7FD801644E@localserver.internaldomain>
Aug 22 16:54:46 localserver postfix/bounce[2190753]: 6420F801644C: sender 
non-delivery notification: AD7FD801644E
Aug 22 16:54:46 localserver postfix/qmgr[1698]: AD7FD801644E: from=<>, 
size=2538, nrcpt=1 (queue active)
Aug 22 16:54:46 localserver postfix/qmgr[1698]: 6420F801644C: removed
Aug 22 16:54:46 localserver postfix/local[2190754]: AD7FD801644E: 
to=<root@localserver.internaldomain>, relay=local, delay=0.01, 
delays=0/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox)
Aug 22 16:54:46 localserver postfix/qmgr[1698]: AD7FD801644E: removed

Is there something that we need to configure so that, in the future, the
*full* bounced email is saved in some location, like a dead leader
office?

(I checked and the message isn't in the mail queue, and the message is
not in /var/spool/postfix/ )

Thanks,
Bryan
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to