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]
<<attachment: winmail.dat>>