Paul Cocker wrote:
This is as handed down by our lawyer.



now you may ask him/her if it's ok to put the disclaimer in headers, knowing that headers travel along with the body.

putting the disclaimer in headers have some advantages:
- generally doesn't break signed mail
- less risks to break mime messages
- in the case of broken mime (unfortunately, this exists), you don't want to "put your hands in". you prefer to pass this as is to whatever MUA the recipient uses.


if you can't use headers, then the best you can do it configure the MUAs (unfortunately, there is no centralized way to do this) to add the disclaimer as a signature. This way, you still don't interfere with mime and don't break signatures.

if you have no choice but altermime, separate inbound and outbound flow. you can use something like

smtpd_client_restrictions =
        check_client_access pcre:/etc/postfix/filter_outbound
        permit_mynetworks
        permit_sasl_authenticated
        check_client_access pcre:/etc/postfix/filter_inbound

== filter_outbound
/./     FILTER filter:[127.0.0.1]:10586

== filter_inbound
/./     FILTER filter:[127.0.0.1]:10024

so you use different content filters. and you can then add altermime to the outbound flow only.




Reply via email to