Opps, the spamassassin stuff should be on one line

| /var/qmail/bin/preline /usr/local/bin/maildrop
/home/vpopmail/etc/mailfilter



----- Original Message -----
From: "Joe Young" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 20, 2003 8:50 AM
Subject: [vchkpw] Spam Assassin implementation


I have spamassassin running in the user's .qmail. It looks like this...
| /var/qmail/bin/preline /usr/local/bin/maildrop
 /home/vpopmail/etc/mailfilter

And the mailfilter script looking like this...
##############################
#mailfilter
##############################
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/.JunkMail`
   if( $RETURNCODE == 1 )
   {
   `maildirmake $VHOME/Maildir/.JunkMail;chown -R vpopmail.vchkpw
$VHOME/Maildir/.JunkMail`
   }
   to "$VHOME/Maildir/.JunkMail/"
}

to "$VHOME/Maildir/"









----- Original Message -----
From: "Cory Wright" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 19, 2003 8:22 AM
Subject: Re: [vchkpw] Spam Assassin implementation


On Wed, Mar 19, 2003 at 11:14:53AM -0500, John McGivern wrote:
> Basically I have spam assassin installed and I have a .qmail-default in
> every domain folder on my server.  It looks  like this:
>
> | /var/qmail/bin/preline -d /var/qmail/bin/bouncesaying "[message to
bounce back if not SPAM]"
> | /home/vpopmail/bin/vdelivermail ' ' bounce-no-mailbox

Where exactly are you calling SpamAssassin?

Cory

--
Cory Wright
Stand Blue Technology
http://www.standblue.net/




Reply via email to