Re: [exim] SpamAssassin and maximum message size limit for p…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Michael Sprague
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] SpamAssassin and maximum message size limit for passing to spamd
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     | mfs@???
http://www.saneinc.net | Provider of SpamOnion anti-spam service
System and Network Engineering (SaNE), Inc