On Thursday 15 March 2007 19:07, Alvaro Marin wrote:
> I've some regular expressions to block some archive extensions with:
>
> system_filter = /etc/exim_filter
>
> Is there anyway to set a whitelist for some IPs (servers that have an
> antivirus installed) and prevent that the filter be executed?

The system filter always runs, but you can easily skip all of it by putting 
something like this near the top:

if "${if match_ip{$sender_host_address}{10.1.0.0/16:192.168.37.0/24}}" is true 
then
  finish
endif

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

  "Exim is better at being younger, whereas sendmail is better for 
   Scrabble (50 point bonus for clearing your rack)" -- Dave Evans

Attachment: pgpttTlSS8ejM.pgp
Description: PGP signature

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