aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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