Re: [Exim] Limiting spamd to only scan files less than 100K

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Calum Mackay
Datum:  
To: Frank DeChellis
CC: exim-users
Betreff: Re: [Exim] Limiting spamd to only scan files less than 100K
Frank DeChellis wrote:
> We're running Exim 4.2 with exiscan and spamd. We would like to avoid
> having spamassassin check emails thast are over 100K. I found this setup on
> the net, but wanted to run it by the list before implementing it.
>
> Does it look like it owuld do the trick?
>
> Thanks
> Frank
>
> ##don;t scan emails greater than 100k
> warn    message        = X-Spam-Score: $spam_score ($spam_bar)
>           condition      = ${if <{$message_size}{100k}{1}{0}}
>           spam           = nobody:true
> ###end of file size check


Yup, that's what I have, although I also have:

    ! hosts = @[]


to not check local-host generated email.

cheers,
c.