FM wrote:
>
> I am not a mailfilter guru
>
> We are using spamd with .mailfilter on user home folder :
>
> xfilter "/usr/bin/spamc"
> if(/^X-Spam-Status: Yes/)
> to Maildir/.Junk/
>
> is it possible to delete spam that have more then 10 points ?
Yes:
if( /X-Spam-Status: Yes, score=([^\s]*)/ )
{
if( $MATCH1 > 10 )
{
echo "Dropping message::"
if( /From: .*/ )
{
echo "$MATCH"
}
if( /Subject: .*/ )
{
echo "$MATCH"
}
EXITCODE=99
exit
}
}
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users