| |||||||||||||||||||||||||||||||
|
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) As well as: smtp inet n - n - - smtpd -o content_filter=AddMsgSize -o content_filter=filter filter unix - n n - - pipe user=filter argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} AddMsgSize unix - n n - - pipe user=filter argv=/usr/local/bin/AddMsgSizeHeader "X-ActualMessageSize" which ignores the second filter and considers the message to be delivered once it's been through the first filter. What I'm trying to do is feed the message though AddMsgSize first, which just adds a header containing the message size, then run it through filter, which feeds it to spamassassin. Anybody have any thoughts? Thanks! Terry
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com