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

Top Page
Delete this message
Reply to this message
Author: Frank DeChellis
Date:  
To: exim-users
Subject: [Exim] Limiting spamd to only scan files less than 100K
HI,

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


---------------------------------------------
Frank DeChellis, President
Internet Access Worldwide
3 East Main St. Welland, ON, Canada L3B 3W4
1-905-714-1400 http://www.iaw.com
---------------------------------------------