Alexandru GHERMAN wrote:

> I use an exim/clamd/spamd configuration. Could anyone help me please if I
> can do some limitations in exim's configuration, I mean when someone sends a
> big message (let's say 4 MB limit), not to be passed to spamassassin ?

If you're using ACLs, you just need to add a condition involving 
$message_size. You could use something like this:


warn   log_message  = Skipping spam scan; message too large
        message      = X-Spam-Report: Spam scan skipped;message too large
        condition    = ${if >{$message_size}{4M}}

accept condition    = ${if >{$message_size}{4M}}

warn   message      = X-Spam-Report: $spam_report
        spam         = exim:true

...ACL continues, blocks messages that exceed a certain score etc...


4MB is too big though. You don't really want to be passing messages that 
big to SpamAssassin.


Tim

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to