mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
email: Sender spoofing patch 1/2: domain rewriting
A sender canonical map deletes the domain part from sender addresses. Postfix will append @$myhostname after the rewriting.
This commit is contained in:
1 parent
1e712f6bc4
commit
3ff823e837
2 files changed
+14
No files matched your search
@@ -60,6 +60,13 @@ egress_filter_cleanup = postconf.ServiceFlags(
|
||||
|
||||
egress_filter_cleanup_options = {
|
||||
'syslog_name': 'postfix/fbxout',
|
||||
# "From" domain rewriting
|
||||
'sender_canonical_maps': 'regexp:/etc/postfix/freedombox-rewrite-sender',
|
||||
'local_header_rewrite_clients': 'static:all',
|
||||
# "From" domain masquerading
|
||||
'masquerade_domains': '$mydomain',
|
||||
'masquerade_classes': 'envelope_sender,header_sender',
|
||||
# Header privacy
|
||||
'header_checks': 'regexp:/etc/postfix/freedombox-header-cleanup',
|
||||
'nested_header_checks': ''
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user