Add SRS support with postsrsd

This commit is contained in:
Julian Rother 2023-04-01 03:16:45 +02:00
parent 64aade5949
commit 1e105b4da7
No known key found for this signature in database
GPG key ID: 8F9B6AE9BAAE4899
5 changed files with 93 additions and 1 deletions

View file

@ -154,5 +154,11 @@ non_smtpd_milters = {{ ' '.join(postfix.non_smtpd_milters) }}
# passwords or other confidential information
notify_classes =
recipient_canonical_maps = {{ postfix.recipient_canonical_maps }}
{% if postfix.srs.enable %}
sender_canonical_maps = tcp:localhost:10001
sender_canonical_classes = envelope_sender
{% endif %}
recipient_canonical_maps = {{ postfix.recipient_canonical_maps }}{% if postfix.srs.enable %} tcp:127.0.0.1:10002{% endif %}
local_header_rewrite_clients = {{ postfix.local_header_rewrite_clients }}