Hans van Zijst:
I'm trying to get Postfix to send its bounce notices to a different
address than "postmaster", so I configured
notify_classes = resource, software, bounce, 2bounce
bounce_notice_recipient = bou...@example.com
2bounce_notice_recipient = bou...@example.com
error_notice_recipient = bou...@example.com
On 07-07-2021 17:43, Wietse Venema wrote:
This configures delivery of POSTMASTER COPIES OF DELIVERY STATUS
NOTIFICATIONS (and other errors).
This DOES NOT configure delivery of STANDARD DELIVERY STATUS
NOTIFICATIONS TO THE ENVELOPE SENDER.
On 08.07.21 10:35, Hans van Zijst wrote:
That is exactly what I'm trying to do. Senders get their normal bounce
message, as they should. But postmaster should get a copy of those, so
that we can keep an eye on how things are going.
It is my understanding that the bit of config I posted should change
the destination for those copies, but they're still going to
"postmaster", which means they end up in the mailbox I've configured
for more urgent stuff.
as I understand it, bounce_notice_recipient send copies of mail that postfix
could not deliver.
The "recipient address rejected: user unknown in virtual alias table"
messages are mail that postfix refused to accept, so there's nothing to
deliver.
you could set smtpd_reject_unlisted_recipient=no and remove
reject_unlisted_recipient
from smtpd_recipient_restrictions.
however, accepting mail to nonexistent local addresses and sending bounces can
result into being listed in DNS blocklists.
I recommmend refusing those mails and solve reason why mails to nonexistent
addresses are sent to you.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Nothing is fool-proof to a talented fool.