[SA-exim] SAEximRunCond question

Dermot Paikkos dermot at sciencephoto.com
Mon May 15 11:25:11 PDT 2006


Hi,

Exim 4.5 on Debian (exim4-daemon-light | exim4-daemon-heavy)

I am trying to exclude mail that originates from our domain from 
being scanned but can't seem to find the right notation.

I am not sure if I should be modifying the SAEximRunCond to do this 
but my experiments make me think this is the way forward.

If I modify the rule so that it has a test for my specific IP address 
my emails are not scanned but I can't seem to find a way to exclude 
the whole subnet (short of entering every address).

So this works
SAEximRunCond: ${if and {{def:sender_host_address} {!eq 
{$sender_host_address}{127.0.0.1}} {!eq 
{$sender_host_address}{194.???.??.???}} {!eq {$h_X-SA-Do-Not-
Run:}{Yes}} } {1}{0}}

but this doesn't
SAEximRunCond: ${if and {{def:sender_host_address} {!eq 
{$sender_host_address}{127.0.0.1}} {!eq 
{$sender_host_address}{194.???.??.???/25}} {!eq {$h_X-SA-Do-Not-
Run:}{Yes}} } {1}{0}}

I have commented out the next line as I thought it was only for 
testing.
# Remove or comment out the following line to enable sa-exim
#SAEximRunCond: 1

I am obviously missing something and I am sorry if my understanding 
is a off-course but can anyone show me where I am going wrong.

TIA.
Dp.







More information about the SA-Exim mailing list