Can anyone think of a way to do this in a PMG environment, it's not possible using native Postfix:
My Postfix server handles message for a dozen domains, for one of these domains, I want the subject replaced with the recipient's local part, so something like this, but put in a format that Postfix understands:
# domain3.com is the one recipient domain we want affected by this rule
# $recipient_name the recipient localpart, so "joe" if the recipient is joe@domain3.com
IF $recipient_domain = 'domain3.com'
REPLACE $subject WITH $recipient_name
ENDIF
I think I need to setup a smtp_header_checks file, but the more I look at it the harder my head hurts.
Thanks for you help.
My Postfix server handles message for a dozen domains, for one of these domains, I want the subject replaced with the recipient's local part, so something like this, but put in a format that Postfix understands:
# domain3.com is the one recipient domain we want affected by this rule
# $recipient_name the recipient localpart, so "joe" if the recipient is joe@domain3.com
IF $recipient_domain = 'domain3.com'
REPLACE $subject WITH $recipient_name
ENDIF
I think I need to setup a smtp_header_checks file, but the more I look at it the harder my head hurts.
Thanks for you help.
Last edited: