Re: [Exim] disable filter per account

Top Page
Delete this message
Reply to this message
Author: Andreas Metzler
Date:  
To: exim-users
Subject: Re: [Exim] disable filter per account
On Tue, Jan 13, 2004 at 11:35:04AM -0500, Oren Levi wrote:
> How do i go about disableing the global filter for a specific domain ?


> i have something like this:
> #!!# message_filter renamed system_filter
> system_filter = /etc/antivirus.exim

[...]

I think it not possible with a system filter:

| The system filter operates in a similar manner to users' filter files,
| but it is run just once per message (however many recipients the
| message has). [...]
| Warning: Because the system filter runs just once, variables that are
| specific to individual recipient addresses, such as $local_part and
| $domain, are not set[...]
| If you want to run a centrally-specified filter for each recipient
| address independently, you can do so by setting up a suitable
| "redirect" router, as described in section "Per-address filtering"
| below.

          cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"