Skip to content

Count number of failed deliveries in mtail #525

Open
@link2xt

Description

@link2xt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions