Alexandru GHERMAN wrote:
> Hello,
>  
> 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 ?
>  
> Thank you very much in advance !
> Alex,

Use the $message_size variable in the ACL.  Something like this:


deny
   condition   = ${if <{$message_size}{80k}{true}{false}}
   spam        = nobody:true/defer_ok

Hope that helps,
M

-- 
Michael F. Sprague     | [EMAIL PROTECTED]
http://www.saneinc.net | Provider of SpamOnion anti-spam service
System and Network Engineering (SaNE), Inc

-- 
## 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