mailserver: add VERP marking of outgoing an unmarking of incoming mails

This commit is contained in:
iburadempa 2019-10-11 18:14:38 +02:00
parent 57de8e095f
commit b0bc240ee5
6 changed files with 73 additions and 0 deletions

View file

@ -95,6 +95,16 @@ smtpd_relay_restrictions =
# rspamd
# VERP marking
# Envelope sender addresses matching mydomains are marked.
# The marker is removed from envelope recipient addresses.
canonical_classes = envelope_sender, envelope_recipient
sender_canonical_classes = envelope_sender
sender_canonical_maps = pgsql:/etc/postfix/sender_canonical_maps.cf
recipient_canonical_classes = envelope_recipient
recipient_canonical_maps = pgsql:/etc/postfix/recipient_canonical_maps.cf
# useful for log analysis
enable_long_queue_ids = yes