Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count number of failed deliveries in mtail #525

Open
link2xt opened this issue Mar 18, 2025 · 0 comments
Open

Count number of failed deliveries in mtail #525

link2xt opened this issue Mar 18, 2025 · 0 comments

Comments

@link2xt
Copy link
Contributor

link2xt commented Mar 18, 2025

Postfix smtp (journalctl -u [email protected] -t postfix/smtp) should log something with status=bounced every time a mail is rejected.

For example:

status=bounced (host mailchat.pl[95.216.211.166] said: 554 5.7.1 No valid DKIM signature found (in reply to end of DATA command))

Such lines can be counted in mtail to see if the number of rejection grows for some reason.
This should help with monitoring if mails are getting rejected because of blocklists. Of course most servers just silently consume what they think is spam and return no error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant