Re: [Exim] exim, spamd and message greater than 80k

Top Page
Delete this message
Reply to this message
Author: Chris Edwards
Date:  
To: R.B. (Rick)
CC: exim-users
Subject: Re: [Exim] exim, spamd and message greater than 80k
On Fri, 26 Mar 2004, R.B. (Rick) wrote:

| Hi Guys,

|
| i'm using exim 4.30 with spamassassin 2.63 with this acl:

|
|   warn  message = X-Spam-Score: $spam_score ($spam_bar)
|         condition = ${if <{$message_size}{80k}{1}{0}}
|         spam = nobody:true
|   warn  message = X-Spam-Report: $spam_report
|         condition = ${if <{$message_size}{80k}{1}{0}}
|         spam = nobody:true
|   warn  message = X-Redirect-To: spam@???
|         condition = ${if <{$message_size}{80k}{1}{0}}
|         spam = nobody
|   warn message = X-Spam-Flag: YES
|         condition = ${if <{$message_size}{80k}{1}{0}}
|         log_message = SPAM ($spam_score)
|         spam = nobody


Ugh. Due to its high cost, we place spamassassin last in our DATA ACL.
We just "accept" messages we don't want to scan. Much prettier:

# Big messages are costly to scan - and are very rarely spam...

accept condition = ${if >{$message_size}{200K}{yes}{no}}

# spam conditions go here

--
Chris Edwards, Glasgow University Computing Service