OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [LONG] content_filter doesn't work

From: Alexander Fortin (mean_streettin.it)
Date: Fri Apr 09 2004 - 03:39:07 CDT


Magnus Bäck wrote:
> No, mutt injects mail with sendmail(1). It seems you have only enabled
> content_filter for the smtpd listener in master.cf. To get content
> filtering for sendmail(1)-submitted mail, add the same option to the
> pickup service.

Thank you! Now I'm on the right way. But there's another complication:
if I copy the -o content_filter statement in this way:

smtp inet n - - - - smtpd -o
content_filter=filter:dummy
pickup fifo n - - 60 1 pickup -o
content_filter=filter:dummy
filter unix - n n - - pipe flags=Rq user=filter
argv=/var/spool/filter/filter.sh -f ${sender} -- ${recipient}

... from the internet works but when I send locally the filtering
logically go in loop processing the same mail each time sendmail is called.
I need a command to send in pipe the output of my filter programs
directly to the cleanup daemon but the manpage doesn't tell me there's a
thing like this.
Is there a way to call cleanup directly?

--
http://wecanstopspam.org - http://openoffice.org
--
Alex