1 message in net.sourceforge.lists.courier-maildrop[maildropl] maildrop dumping spam sys...
FromSent OnAttachments
Jim HamannOct 22, 2003 7:50 am 
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] maildrop dumping spam system wideActions...
From:Jim Hamann (jham@hamanjam.com)
Date:Oct 22, 2003 7:50:39 am
List:net.sourceforge.lists.courier-maildrop

I have qmail / vpopmail / courier / qmail-scanner / clamd / spamassassin installed and running great almost a month with no false positives reported. My next step is to move the spam to a central "spam" directory system wide that I plan to watch and adjust rules as needed. I have checked into things and think maildrop is the way to go, but cannot find a good document that outlines this. I have about 15 domains and around 100 users, so .qmail files seem to be the long way to configure things.

This is what I have so far:

-------------------/var/qmail/rc:

exec env - PATH="/var/qmail/bin:$PATH" qmail-start '| /var/qmail/bin/preline /usr/local/bin/maildrop '

------------------/etc/maildroprc:

# Global maildrop filter file

# Uncomment this line to make maildrop default to ~/Maildir for

# delivery- this is where courier-imap (amongst others) will look.

DEFAULT="$HOME/Maildir/"

# the next line turns on spamassassin filtering for all users

# xfilter "/usr/bin/spamc -u $LOGNAME

# if (/^X-Spam-Status: *Yes/)

# to $HOME/Maildir/.Spam/

if (/^X-Spam-Flag: *YES/)

to "Maildir/.Spam/"

I can send a forced spam message that spamassassin marks with the "X-Spam-Flag: YES" but it doesn't get moved. I even put garbage in the maildroprc file to try to get a syntax error or something, but no luck. Am I missing something in the puzzle?

Thanks

Jim