[SA-exim] SA-Exim run condition problems...

Lars Schimmer schimmer at cg.cs.tu-bs.de
Wed Feb 2 14:22:43 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lars Schimmer schrieb:
| Hi!
|
| I don't know what to do right now...
| I setup the run condition:
| SAEximRunCond: ${if or {{def:sender_host_address} {!eq
| {$sender_host_address}{127.0.0.1}} {def:sender_host_address}  {!eq {mask:
| $sender_host_address/24}{1.1.1.0/24}} {!eq {$h_X-SA-Do-Not-Run:}{Yes}} }
| {1}{0}}
|
| And I try to send mail from a PC 1.1.1.34 out to the world.
| ~From MY point of view, spamassassin shouldn't act at all.
| But sa runs and tries to tag the mail :-(
| Any hint?

Ok, One error found: I had to replace or with and :-)
But the mask: operation doesn't work.
This run condition works:
SAEximRunCond: ${if and {{def:sender_host_address} {!eq
{$sender_host_address}{1.1.1.34}} {!eq {$h_X-SA-Do-Not-Run:}{Yes}} } {1}{0}}

if I sent from 1.1.1.34, but this one:

SAEximRunCond: ${if and{{def:sender_host_address}
{!eq{mask:$sender_host_address/24}
{1.1.1.0/24}}{!eq{$sender_host_address}{127.0.0.1}}}{1}{0}}

doesn't.

Why?

Thx, bye
Lars
- --
- -----------------------------------------------------------------
Technische Universität Braunschweig, Institut für Computergraphik
Tel.: +49 531 391-2109            E-Mail: schimmer at cg.cs.tu-bs.de
PGP-Key-ID: 0xB87A0E03


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCANQjVguzrLh6DgMRAuHVAKDWMJDLuZ+NMfU1HGfHZhqV7LAmgACg040l
NcBtsClMsDOm8pnTqCWcN0I=
=3RGp
-----END PGP SIGNATURE-----



More information about the SA-Exim mailing list