Re: [vchkpw] spamassassin + maildrop issue and suggestions...

2004-03-18 Thread Yuri Nosyrev
oops...

> log
> "v
> SPAM"

should look like

log  "***v>
SPAM"

i.e. it ONE string only...

Best Regards,
Yuri Nosyrev
Russia, Chita





Re: [vchkpw] spamassassin + maildrop issue and suggestions...

2004-03-18 Thread Yuri Nosyrev
> Well it did not work I tried .spam but no luck. Any other suggestion??

try this configuration:

import HOST
import EXT
MAILDIR=/usr/local/vpopmail/domains
logfile "$MAILDIR/$HOST/$EXT/maildrop.log"
if (/^X-Spam-Flag: *YES/)
{
log
"v
SPAM"
to "$MAILDIR/$HOST/$EXT/Maildir/.SPAM/"
}

... it works for me... for sure...

Best Regards,
Yuri Nosyrev
Russia, Chita




RE: [vchkpw] spamassassin + maildrop issue and suggestions...

2004-03-18 Thread Remo Mattei
Well it did not work I tried .spam but no luck. Any other suggestion??

Thanks, 

Remo Mattei
Network Security Engineer
cell 801-808-unix
email [EMAIL PROTECTED]

-Original Message-
From: Jeremy Kitchen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 18, 2004 9:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [vchkpw] spamassassin + maildrop issue and suggestions...

On Thu, 2004-03-18 at 08:42, Remo Mattei wrote:
> Hello guys I have a server which does recognize my header (spamassassin
> marks SPAM) however it never moves it to the directory called spam here is
> the mailfilter (which by the way works on a redhat box) this is a SuSE box
> and it does not put it on the spam folder thanks for any suggestions, 
> 
> PS yes I did check since I made the directory manually that there is a
spam
> folder under the user account. 
> 
> #!/bin/bash
> VPOP="|
/home/vpopmail/bin/vdelivermail'/home/vpopmail/domains/metoo.com/re"
> 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/"

try moving it to Maildir/.spam/

I'm assuming you're using courier-imap or sqwebmail to get messages from
this folder.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



Re: [vchkpw] spamassassin + maildrop issue and suggestions...

2004-03-18 Thread Jeremy Kitchen
On Thu, 2004-03-18 at 08:42, Remo Mattei wrote:
> Hello guys I have a server which does recognize my header (spamassassin
> marks SPAM) however it never moves it to the directory called spam here is
> the mailfilter (which by the way works on a redhat box) this is a SuSE box
> and it does not put it on the spam folder thanks for any suggestions, 
> 
> PS yes I did check since I made the directory manually that there is a spam
> folder under the user account. 
> 
> #!/bin/bash
> VPOP="| /home/vpopmail/bin/vdelivermail'/home/vpopmail/domains/metoo.com/re"
> 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/"

try moving it to Maildir/.spam/

I'm assuming you're using courier-imap or sqwebmail to get messages from
this folder.

-Jeremy

-- 
Jeremy Kitchen
Systems Administrator
[EMAIL PROTECTED]
Kitchen @ #qmail on EFNet - Join the party!
.
Inter7 Internet Technologies, Inc.
www.inter7.com
866.528.3530 toll free
847.492.0470 int'l
847.492.0632 fax
GNUPG key ID: 93BDD6CE



Re: [vchkpw] spamassassin + maildrop issue and suggestions...

2004-03-18 Thread master
what does your log say ?
i have a script which look like that except i try to use xfilter
"/usr/local/bin/deliverquota -w 90 $VHOME to keep the quota working (but
mail never arrived with deliverquota instead of to )

- Original Message - 
From: "Remo Mattei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 18, 2004 3:42 PM
Subject: [vchkpw] spamassassin + maildrop issue and suggestions...


> Hello guys I have a server which does recognize my header (spamassassin
> marks SPAM) however it never moves it to the directory called spam here is
> the mailfilter (which by the way works on a redhat box) this is a SuSE box
> and it does not put it on the spam folder thanks for any suggestions,
>
> PS yes I did check since I made the directory manually that there is a
spam
> folder under the user account.
>
> #!/bin/bash
> VPOP="|
/home/vpopmail/bin/vdelivermail'/home/vpopmail/domains/metoo.com/re"
> 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"
> }
> }
>
> Remo Mattei
> Network Security Engineer
> cell 801-808-unix
> email [EMAIL PROTECTED]
>
>
>
> Remo Mattei
> Network Security Engineer
> cell 801-808-unix
> email [EMAIL PROTECTED]
>
>



[vchkpw] spamassassin + maildrop issue and suggestions...

2004-03-18 Thread Remo Mattei
Hello guys I have a server which does recognize my header (spamassassin
marks SPAM) however it never moves it to the directory called spam here is
the mailfilter (which by the way works on a redhat box) this is a SuSE box
and it does not put it on the spam folder thanks for any suggestions, 

PS yes I did check since I made the directory manually that there is a spam
folder under the user account. 

#!/bin/bash
VPOP="| /home/vpopmail/bin/vdelivermail'/home/vpopmail/domains/metoo.com/re"
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"
}
}

Remo Mattei
Network Security Engineer
cell 801-808-unix
email [EMAIL PROTECTED]



Remo Mattei
Network Security Engineer
cell 801-808-unix
email [EMAIL PROTECTED]

<>