Score:0

How can I check error notifications on Postfix are correctly being sent?

kh flag

I've recently configured a brand new Postfix server (latest version) on Debian 11, it's working great but on the old installation I used to receive an email whenever something went wrong when sending/receiving an email via Postfix. On the main configuration I've set the following parameters, thing is, I've yet to receive any error email from Postfix and I am sure (from experience) that every single day at least a few messages don't get through.

delay_notice_recipient = [email protected]
bounce_notice_recipient = [email protected]
2bounce_notice_recipient = [email protected]
error_notice_recipient = [email protected]

First of all, is the configuration above correct? Am I missing something? Also any way to trigger an error? I've tried to send an email via telnet to a wrong recipient but I didn't get any notifications back.

Thanks.

anx avatar
fr flag
anx
Just send a message to `[email protected]`?
Score:0
fr flag
anx

You may have configured a recipient for a notification class that is not enabled in any relevant postfix service. Notably, the mailbox specified in bounce_notice_recipient only receives headers of rejected messages when bounce appears in your notify_classes.

Also, you will have to review postfix logs to see whether this works. Because you won't be notified of errors with delivering to a non-local mailbox.. if your error notification recipient is affected by the same problem affecting non-local delivery. If this is the case, you would likely be able to locate the problem in log messages containing the obvious keywords (such as warning, error, 2bounce, ..).

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.