Using two content filter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Using two content filter


Hi, today I have a policyd configured in my postfix server like:

smtpd_sender_restrictions = check_policy_service inet: reject_sender_login_mismatch
smtpd_end_of_data_restrictions = check_policy_service inet:

Today I need a content filter to modify my message and I created using shellscript and python, and configured in like:

submission inet n       -       -      -       -       smtpd -o smtpd_sasl_auth_enable=yes
        -o content_filter=altermime
altermime  unix  -       n       n        -      -       pipe
        flags=Rq user=altermime argv=/etc/postfix/ -f ${sender} -- ${recipient}

 The postix only deliver message to content_filter configured in 

Can I have this ? How?