On Tue, 3 Feb 2015 17:06:14 +1300
Jeremy Bowen <jer...@smartpoint.co.nz> wrote:
> From here it looks like I need to initially  add the following lines
> to master.cf:
> filter    unix  -       n       n       -       10      pipe
>     flags=Rq user=filter null_sender=
>     argv=/usr/local/bin/myscript -f ${sender} -- ${recipient}

I've knocked up a quick-and-dirty solution in the interim but I would
like to improve on this.

I've added the above filter section and replaced the previous content
filter with "-o content_filter=filter:dummy" to my submission service in
master.cf
Outgoing mail is now being processed by my shell script and email is
being sent OK.

However, in implementing this, I've lost the DK signing ability
and I'm also concerned at scalability & performance as alluded to in the
FILTER_README. Also, ALL outgoing email is processed by my script
whether it needs to be or not.

I would really value some recommendations on how to improve this.
Thanks.

Reply via email to