You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Richard Harding <rh...@msufame.msu.edu> on 2004/11/17 22:39:50 UTC
trying to get spamassassin & maildrop to play together
I am trying to look at getting spamassassin 3.0 from the backport for
Debian to work with maildrop and I am getting a bit confused. First I
can't seem to get maildrop to read it's config file in /etc/maildroprc.
I added the logfile "/var/log/maildrop" directive and created the
logfile with the same permissions as the rest of the mail logs, but it
won't write in it. Maildrop is working and set to be the mailbox_command
in the postfix mail.cf.
I guess I need to get the maildroprc file working before any directives
to use spamassassin in an xfilter would be helpful. Anyone have an idea
why I can't get this file to be used and how best to set up spamassassin
to mark up messages and place them in the users Spam folder in their
maildir?
I currently have copied this from searching the mail archives:
-----------------------------------------------------------------
cat /etc/maildroprc
logfile "/var/log/maildrop"
VERBOSE="5"
log "========"
xfilter "/usr/bin/spamc -f"
if ( /^X-Spam-Flag: YES/ \ # Watch out for header
line added by Spamassassin.)
{
log "------------------------------------------------------------- Spam
general. "
to "Maildir/.Spam"
#DELTAG=1
}
-----------------------------------------------------------------
Thanks for the help.
Rick