2 messages in net.sourceforge.lists.courier-maildrop[maildropl] trying to get spamassassi...
FromSent OnAttachments
Richard HardingNov 16, 2004 6:21 pm 
Thorsten HaudeNov 16, 2004 10:20 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] trying to get spamassassin & maildrop to play togetherActions...
From:Richard Harding (rhar@msufame.msu.edu)
Date:Nov 16, 2004 6:21:52 pm
List:net.sourceforge.lists.courier-maildrop

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