Re: [exim] sanity check - using MACRO lists within *lsearch-…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Tony Finch
日付:  
To: OpenMacNews
CC: exim-users
題目: Re: [exim] sanity check - using MACRO lists within *lsearch-es in ACL condition logic
On Sat, 17 Sep 2005, OpenMacNews wrote:

>    drop condition = ${if eq{[net-iplsearch;MY_REAL_IPS]}{$sender_helo_name}}


This won't work because eq is string comparison and has nothing to do with
list matching. (net-iplsearch; is list matching syntax.) I suggest adding
your external IP addresses to extra_local_interfaces (which you should do
anyway to ensure correct detection of routing loops), then you can use
${if match_domain{@[]}{$sender_helo_name} }

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}