[exim] match in exim 4.77

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Nikita Koshikov
日付:  
To: exim-users
題目: [exim] match in exim 4.77
Hello list,

I have a question regarding next exim 4.77 update and "match" clutching.
Reading Phil's announce letter it's a bit unclear to me what will work and how correctly remake current configs if it won't work.

Few examples:

1)
{match_ip{$sender_host_address}{iplsearch;EXIM_ROOT/local/bad_auth_hosts}}

Lookups are now not allowed, so should I define new hostlist and make iplsearch there or maybe exist some better way?
>{match_ip{$sender_host_address}{+new_hostlist}} ?


2)
{match_ip{$sender_helo_name}{@[]}}
@[] - if I'm correct - this is internal variable to exim - will it be allowed ?

3)
${if !match{$sender_helo_name}{\\.}}
This should work - pure regex, Am I right ?

4)
Final one
${if forany\
    {<,\
       ${lookup{$sender_host_address}iplsearch{EXIM_ROOT/local/allow_ip_senders}}\
    }\
    {match{${lc:$sender_address}}{$item}}\
}


allow_ip_senders have format like this:
IP        Sender
1.1.1.1        trusted@???, services-.*@???


What is the right way to make such functionality in upcoming exim release?