On 07.01.2010 14:27, I myself wrote:
> Thanks! Looks like I took a wrong turn there.
> I restored my courierd and added a maildropfilter file instead, containing
>
> /usr/bin/maildrop -V2
Strange, now it works. I removed the -V2 from
/etc/courier/maildropfilter and restarted courier once.
And I managed to get spamassassin called with
/home/myname/.mailfilter/smtpfilter
include "/etc/courier/maildroprcs/spamassassin"
and /etc/courier/maildroprcs/spamassassin
xfilter "spamc --headers"
echo "This looks like spam to me."
EXITCODE=97
exit
Now I just need to find a way to check spamc's return code without
terminating processing so I can still echo my own failure message.
-Markus-
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users