if !/backup.*@/
/^([^+_]*).*@(.*)/ backup+${1}.${2}@domain.tld
endif
I currently have the above in recipient_bbc
/etc/postfix/main.cf:
recipient_bcc_maps = pcre:$config_directory/recipient_bcc.pcre
And this works perfectly and stores a copy of all email (sent and received) in
a backup account that is set to delete messages after 7 days. This allows me to
recover messages which people have deleted or accidentally marked as spam.
However, I would like to exclude a specific domain from this backup including
all mail TO and FROM the domain.
--
Apple broke AppleScripting signatures in Mail.app, so no random signatures.