Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

qmail/vpopmail/maildrop/qmail-scanner/clamd/spamassassin problems

Status
Not open for further replies.

jhamann

IS-IT--Management
Feb 19, 2002
13
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top