> maybe it's better to this, instead of the last {match}
> 
> {!eq {${mask:${sender_host_address}/24}} {10.1.2.0/24}}
> 
> This is much more readable, and maintainable, if you have a bigger 
> network, that's not class-based :)

Hello!

I have tried this construkt a few days before, but evertime i had an
error if my sender_host_address variable was empty.
This variable is everytime empty if exim recieved a mail per bsmtp
(spam-scanned)

2002-12-04 10:47:54 18JW8I-0005Up-00 failed to expand condition"${if and
{{!def:h_X-Spam-Flag:} {!eq {$received_protocol}{spam-scanned}} {!eq
{$received_protocol}{local}} {!eq
{${mask:$sender_host_address/12}}{172.16.0.0/12}} } {1}{0}}" for d_sa
director: "" is not an IP address

Dont you have this Problem?


-- 



mit freundlichen Grüßen
Rene Schumann

--
[EMAIL PROTECTED]
Schlund+Partner AG      http://www.schlund.de
Fon: +49-721-91374-399  Fax: +49-721-91374-225






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to