Alex Jalali wrote:
> Hello,
> 
> How can I reject mails that have a high score along with a reason
> message instead of moving them to a folder?
> 
> 
> I am using this in procmailrc to send spams to junk mail folder which
> works fine.
> 
> :0:
> * ^X-Spam-Status: Yes
> /${HOME}/'Junk E-mail'
> 
> Now I need something like this to reject mails with score 16 or more
> 
> :0:
> * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> ?????? "550 Your email is in our spam list. To be removed, write to us
> at xxx"
> 
> 
> I have setup spamassasin 3 with sendmail and procmail on redhat 9

IMHO it is a bad idea to "bounce" *spam* messages in procmail scripts
because sender adresses are frequntly faked.

For sendmail users much better idea is to integrate spamassassin with
sendmail using milter (e.g. http://mimedefang.org/) and:
* reject "spam for (almost) sure" in SMTP session [the final dot reply]
  It makes sending host responsible for generating bounce message
* mark "most likely spam" in headers to allow by recipient verification

-- 
[pl2en Andrew] Andrzej Adam Filip : [EMAIL PROTECTED] : [EMAIL PROTECTED]
http://anfi.homeunix.net/

Reply via email to