aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaat <maat@mageia.org>2024-10-14 19:50:35 +0200
committerMaat <maat@mageia.org>2024-10-14 19:50:35 +0200
commit4a63bdb83e569751cab5db4e63494fd288190947 (patch)
tree56c81fc21101468c7074fda2bf8c101698332ec4
parent8b21fdc67dac6c4dead3de33d32440fd480581cc (diff)
downloadpuppet-4a63bdb83e569751cab5db4e63494fd288190947.tar
puppet-4a63bdb83e569751cab5db4e63494fd288190947.tar.gz
puppet-4a63bdb83e569751cab5db4e63494fd288190947.tar.bz2
puppet-4a63bdb83e569751cab5db4e63494fd288190947.tar.xz
puppet-4a63bdb83e569751cab5db4e63494fd288190947.zip
Finally enabling SRS properly (Warning postsrsd is built installed locally)
-rw-r--r--modules/postfix/templates/main.cf8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/postfix/templates/main.cf b/modules/postfix/templates/main.cf
index 29cea9dc..e9464a39 100644
--- a/modules/postfix/templates/main.cf
+++ b/modules/postfix/templates/main.cf
@@ -93,10 +93,10 @@ milter_default_action = accept
milter_protocol = 2
# Adding Sender Rewriting Scheme
-#sender_canonical_maps = tcp:localhost:10003
-i#sender_canonical_classes = envelope_sender
-#recipient_canonical_maps = tcp:localhost:10002
-#recipient_canonical_classes= envelope_recipient,header_recipient
+sender_canonical_maps = socketmap:inet:localhost:10003:forward
+sender_canonical_classes = envelope_sender
+recipient_canonical_maps = socketmap:inet:localhost:10003:reverse
+recipient_canonical_classes= envelope_recipient,header_recipient
<%- if all_tags.include?('postfix::server') -%>
transport_maps = regexp:/etc/postfix/transport_regexp