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

Reply via email to