I'm using qmail+vpopmail+maildrop+imap+spamassassin
 
 
I have a filter in /home/vpopmail/bin/filter That is the global filter that has.
 
 
------------- /home/vpopmail/bin/filter ------------------
 
# run through SpamAssassin (if less than the specified size)
logfile "/home/vpopmail/bin/filterloger"
 
if ( $SIZE < 262144 )
{
    exception {
       log "Filtered to SpamAssassin"
       xfilter "/usr/bin/spamc -f -u [EMAIL PROTECTED]"
    }
}
 
if (/^X-Spam-Flag: *Yes/)
{
    # try to deliver to the spam folder
    exception {
       to "Maildir/.Spam/"
    }
}
 
# process user's rules
exception {
    include .mailfilter
}
 
# if it falls through to here, just put it in their inbox
to "Maildir/"
----------- /home/vpopmail/bin/filter -------------
 
In the users dir where the .mailfilter is located at I have
 
----------- /home/vpopmail/bin/domains/test.com/postmaster/.mailfilter ------------
 

if( /^Subject: [EMAIL PROTECTED]/ ) {
  to "Maildir/.Billing"
}
 
if( /^From: [EMAIL PROTECTED]/ ) {
  to "Maildir/.Servers.Mail"
}
 
if( /^Subject: in sent message/ ) {
  to "Maildir/.Viruses"
}
 
if( /^To: [EMAIL PROTECTED]/ ) {
  to "Maildir/.OpenSRS"
}
 
if( /^From: paypal.com/ ) {
  to "Maildir/.PayPal"
}
 
if( /^From: [EMAIL PROTECTED]/ ) {
  to "Maildir/.Billing"
}
 
----------- /home/vpopmail/bin/domains/test.com/postmaster/.mailfilter ------------
 
For some reason it is not filtering the user's mailfilter file at all. I have had it filter a test message. But for some reason it is not filtering at all. Can someone help me out

Reply via email to