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 j...@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.

--
John Schmerold
Katy Computer Systems, Inc
https://katycomputer.com
St Louis

Reply via email to