I have is setup and running fine. I have the following in my
.qmail-default


|preline /usr/bin/spamc -f -u [EMAIL PROTECTED] 
|preline maildrop mailfilter

and the mailfilter is like this:

VPOP="| /home/vpopmail/bin/vdelivermail ''
/home/vpopmail/domains/italy1.com/postmaster"
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]

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

if (/^X-Spam-Flag: *YES/)
{
        # try filtering it using user-defined rules
        exception {
                include $VHOME/Maildir/mailfilter
        }
        # then try delivering it to a Spam folder

        exception {
                # to "$VPOP"
                to "$VHOME/Maildir/.spam/"
        }
        # ah well, I guess they'll just have to live with
disappointment
        exception {
                to "$VPOP"
        }
}
else
{
        exception {
                include $VHOME/Maildir/mailfilter
        }
        exception {
                to "$VPOP"
        }
}

good luck, 

REMO

-----Original Message-----
From: Jasper Metselaar [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 02, 2003 4:18 AM
To: [EMAIL PROTECTED]
Subject: [vchkpw] vpopmail and spamassassin

Hi,

I am trying to get Spamassassin working with Vpopmail, but I am not
succeeding so far...
Right now I am using version: vpopmail 5.3.12

Spamd (the spamassassin daemon) is running.
I tried to do something with Ifspamh
(www.gbnet.net/~jrg/qmail/ifspamh/) but this didn't work so far.

Does anyone have a good solution to use Spamassasin with vpopmail.


Thanks,
Jasper





Reply via email to