How about this?
 
`/usr/bin/test -d $VHOME/Maildir/.Spam`
if( $RETURNCODE == 1 )
{
        `/usr/local/bin/maildirmake $VHOME/Maildir/.Spam`
        `chown -R vpopmail.vchkpw $VHOME/Maildir/.Spam`
        `/home/vpopmail/bin/SubImapDir.sh $VHOME`
}
 
 
----- Original Message -----
Sent: Tuesday, July 15, 2003 11:32 AM
Subject: Re: [qmailadmin] SpamAssassin

This will be installed domain wide and user wide. I have around 10 domains hosted.
 
Chris
----- Original Message -----
Sent: Monday, July 14, 2003 22:28
Subject: Re: [qmailadmin] SpamAssassin

in my .qmail-default
 
|/usr/local/bin/maildrop /home/vpopmail/etc/mailfilter
and /home/vpopmail/etc/mailfilter
 
MAILHOME="/home/vpopmail/domains/myhost.com/swergar"
VHOME=`/home/vpopmail/bin/vuserinfo -d [EMAIL PROTECTED]`
VPOP="| /home/vpopmail/bin/vdelivermail '' $MAILHOME"
if ( $RETURNCODE == 255)
{
        VHOME="$MAILHOME"
}
exception {
      include $VHOME/Maildir/.mailfilter
}
if (/^X-Spam-Flag: *YES/)
{
 
        exception {
                to "$MAILHOME/Maildir/.Spam"
        }
        exception {
                to "$VPOP"
        }
}
else
{
        exception {
                to "$VPOP"
        }
}
 
Then all mail marked with spam will go into spam folders
 
 
Swergar
 
����հT
http://www.hkes.com
- �D������ (Server Colocation)
- �����ιq�l�H�s
- �q�l�f�r�ΩU���l��L�o
- ���A������
_______________________________
 
----- Original Message -----
From: "Chris Hallgren" <[EMAIL PROTECTED]>
To: "Jeff Hedlund" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 15, 2003 11:24 AM
Subject: Re: [qmailadmin] SpamAssassin

Yes I see quite a bit of spamd activity and alot of marked messages as spam
that I have recieved.

Chris
----- Original Message -----
From: "Jeff Hedlund" <
[EMAIL PROTECTED]>
To: <
[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 22:16
Subject: Re: [qmailadmin] SpamAssassin


> Chris Hallgren wrote:
> > I installed Mailfilter and used your config file in
> > /home/vpopmail/.mailfilterrc Updated the .qmail file to reflect the new
> > changes. But it doesn't add any headers to the messages I send to
myself. Is
> > there more I'm missing.
>
> What are your logs saying?  SpamAssassin logs in /var/log/maillog for my
> system...  Do you see SpamAssassin being called?
>
> Is spamd running?
>
> Jeff
>
>
>
>


Reply via email to