0
I want to set up my SMTP server so that every email I send has the same tag [TAG]at the beginning of the subject. Is there any way of achieving this?
0
I want to set up my SMTP server so that every email I send has the same tag [TAG]at the beginning of the subject. Is there any way of achieving this?
1
You can do this using postfix header checks.
#/etc/postfix/main.cf
header_checks = pcre:/etc/postfix/header_checks.pcre
#/etc/postfix/header_checks.pcre
/^Subject: (.+)$/ REPLACE Subject: [TAG] $1
See header_checks for more info. Hope that helps.