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:
fliu authored and Sunil Mohan Adapa committed 2021-08-17 19:44:24 -07:00
1 parent 1e712f6bc4
commit 3ff823e837
2 files changed
+14

No files matched your search

@@ -0,0 +1,7 @@
# -*- mode: conf-space -*-
# This file is managed by FreedomBox
# regexp sender canonical map
# Remove the domain part from email addresses
# Postfix will append @$myhostname
/^([^@]+)@/ $1