By the way, this is the modification I made to /etc/mail/mailfilter to get it to
dump local spam and TRY to abort the procedure, directly after reading in
$VHOME/Maildir/.mailfilter. If the user's .mailfilter contains the line
SPAMFORWARDDROP=1, the following executes:

if((/^X-Spam-Status: Yes/:h) && ($SPAMFORWARDDROP == 1))
{
        log "Message deleted as specified by .mailfilter\n"
        exception {
                to "/home/vpopmail/domains/[the 
domain]/postmaster/Maildir/.Spam/"
        }
        log "=== END ===\n"
        EXITCODE=1
        exit
}

This works perfectly without having to modify the smtp delivery pipe, but the
next line in .qmail which contains the forward still executes. Any ideas?


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to