FreedomBox/plinth/modules/email_server/data/etc/postfix/freedombox-rewrite-sender
fliu 3ff823e837
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.
2021-08-17 19:44:24 -07:00

8 lines
191 B
Plaintext

# -*- 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