On Sun, Dec 21, 2003 at 09:18:39PM -0500, Eric Livingston wrote:
> Simple question, but one I can't seem to find a direct answer to:
> 
> How do you send a message into the abyss using .mailfilter rules? I use
> SpamAssassin, and would like to auto-delete messages with scores over a
> certain threshold.
> 
> Is "to /dev/null" the best bet, or is there some explicit action? I've
> noticed that some other mail processors have "drop" actions that explicitly
> kill a message - does maildrop?

Hello Eric,

I struggled with this as well a while ago, sending mails to /dev/null will not
work. Instead I have sth. like this in my .mailfilter:
if ( /^X-Spam-Level: \*\*\*\*\*\*\*\*/ )
{
    EXITCODE=99
    exit
}

Regards
Mirko


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to