Add sender rewriting scheme (SRS).

This commit is contained in:
iburadempa 2020-09-12 13:58:52 +02:00
parent f24ce8295d
commit 43fd2da518
4 changed files with 116 additions and 15 deletions

View file

@ -99,10 +99,10 @@ smtpd_relay_restrictions =
# VERP marking
# Envelope sender addresses matching mydomains are marked.
# The marker is removed from envelope recipient addresses.
canonical_classes = envelope_sender, envelope_recipient
canonical_classes = envelope_sender, envelope_recipient, header_recipient
sender_canonical_classes = envelope_sender
sender_canonical_maps = pgsql:/etc/postfix/sender_canonical_maps.cf
recipient_canonical_classes = envelope_recipient
recipient_canonical_classes = envelope_recipient, header_recipient
recipient_canonical_maps = pgsql:/etc/postfix/recipient_canonical_maps.cf