| |||||||||||||||||||||||||||||||
|
> On Mon, Sep 24, 2007 at 11:54:15AM -0400, Terry Carmen wrote: > > >> I'm trying to run two content_filters without much success and was >> wondering if anybody had any ideas? >> >> So far I've tried: >> >> smtp inet n - n - - smtpd -o >> content_filter=filter >> >> filter unix - n n - - pipe >> argv=/usr/local/bin/AddMsgSizeHeader "X-ActualMessageSize" | user=filter >> argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} >> >> Which makes AddMsgSizeHeader complain about it's arguments (it gets fed >> everything up to EOL) >> > > The master(8) daemon is not a shell. No shell meta-characters are > (or should be) supported. Run a single script that collects all the > variable arguments, and run any pipes, ... *inside* that script. > > Thanks! I'll try it and let you know how it goes. Terry
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com