On Mon, Jul 07, 2003 at 06:11:20PM -0500, Mike Vanecek wrote:
> Does a configuration exist (mailscanner, or such utilities)
> that would allow one to do a standard reject based on the hit
> score?

Exim has means to filter a mail through SpamAssassin while it is
being received in the SMTP dialogue. Exim may then reject the
mail (but again, after it has been transmitted, after the "."
that ends the SMTP message), or may start a teergrube to slow
down the sender (Exim will send slowly "451-please wait"
messages after the "." that ends the SMTP message).

I do not know of similar implements for Postfix.

If you deliver mail using procmail and sendmail, you can use
procmail exit codes to bounce mail. Simply look up
/usr/include/sysexits.h for possible exit codes ("unknown
user" is exitcode 67) and configure procmail suitably. You could
use a rule like this

:0
* ^X-Spam-Level:.*\*\*\*\*\*\*
{
        EXITCODE=67

        :0
        /dev/null
}

in your .procmailrc.

Kristian


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to