Hi!
I'm a bit confused about how to set up SpamAssassin on my server.
The docs talk about three modes maildrop can run in: Manual, Delivery
and Embedded mode. Embedded mode sounds like what I want (rejecting spam
during the SMTP transaction). If I set
DEFAULTDELIVERY="| /usr/bin/maildrop"
in my courierd file, does this then mean maildrop is run in embedded
mode during the SMTP transaction?
If so, how can I pass the message through SpamAssassin and let it modify
the mail headers?
I guess normally, this would be a simple matter of
xfilter "spamc --username $RECIPIENT --exitcode --headers"
But xfilter isn't allowed and I don't see any other way to achieve this.
Using the cc command wouldn't modify the message and using the to
command and then making spamc invoke maildrop again seems messy.
I tried this:
DEFAULTDELIVERY="| /usr/bin/spamc | /usr/bin/maildrop"
which seems to work, but I'm not sure this is the right way to integrate
SpamAssassin (can I even append --username $RECIPIENT at that point?)
I'm thankful for any enlightenment you can provide ;-)
-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