|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: mouss (mouss
ml.netoyen.net)
Date: Thu Oct 01 2009 - 16:46:31 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Darvin Denmian wrote:
> Ralf,
>
> I'm testing this using:
>
> master.cf :
>
> # Inbound
>
> smtp inet n - - - - smtpd -v
> -o content_filter=filter:dummy
>
> filter unix - n n - 10 pipe
> flags=Rq user=filter null_sender=
> argv=/usr/bin/filter.sh -f ${sender} -- ${recipient}
>
>
> How can I apply something like this for outbound?
>
unless you use a specific smtpd for outbound, the above applies to all
mail submitted via smtp. if you want this to apply to all mail,
including mail submitted via the sendmail command, just put the
content_filter= statement in main.cf. however, you can't do this if your
filter.sh resubmits mail via sendmail because you'd get an infinite loop.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]