I have been using maildrop to filter spam by using the following in 
.qmail-default for each domain:

| preline /usr/bin/maildrop /etc/spamassassin/mailfilter

I have included the mailfilter at the end of this email.

However when I set this up I found that SQL based aliases stopped working. 
Email sent to these alias addresses goes to a black hole.

This is with vpopmail 5.3.18. Any ideas as to what could be causing this?

cheers, Iain.

import EXT
import HOST
import HOME
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]
VPOP="| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox"

if ($SIZE < 262144)
        xfilter "/usr/bin/spamc -u [EMAIL PROTECTED]"

if ((/^X-Spam-Flag:.*YES/))
   `test -d $VHOME/Maildir/.SPAM`
   if( $RETURNCODE == 1 )
   `maildirmake $VHOME/Maildir/.SPAM;chown -R vpopmail.vchkpw 
   `/usr/local/bin/movespam [EMAIL PROTECTED]
   if( $RETURNCODE == 0 )
   to "$VHOME/Maildir/.SPAM/"
   to "$VPOP"
to "$VPOP"

Reply via email to