Re: [exim] conditions

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: gshine
CC: exim-users
Subject: Re: [exim] conditions
Quoting Shine, Gary:

first, please read the list etiquette on
http://www.exim.org/eximwiki/MailingListEtiquette, esp. last point
"thread stealing"

> deny    condition     = ${if
> eq{$sender_helo_name}{{212.151.164.171}{yes}{no}}
> How do I specify more IP addresses


from the spec file:
${if match_ip{$sender_host_address}{1.2.3.4:5.6.7.8}{...}{...}}

matching $sender_helo_name against IP addresses won't give you much. It
contains almost always a host name, and if the client wants to use an IP
address, it has to enclose it into square brackets, like in "EHLO
[1.2.3.4]".