Re: [exim] ACL filtering 3 dashes in host name

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Always Learning
日付:  
To: Exim Users
題目: Re: [exim] ACL filtering 3 dashes in host name

Hi Mike

> > deny    message       = [F04] Sending Mail Server Not Genuine.
> >          hosts         = *-*-*-*


> condition = ${if match{$sender_host_name}{\N(.*?-.*?){3}\N}}
>
> "hosts" can't be used the way you're trying to use it.


Why I can I use it successfully in

defer   message       = [F21] Anti-Spam Protection. Please retry ...
        domains       = aaaa.bbbb
        !hosts        = *.uk : *.com : *.net : *.org


It is the same hosts field and the matching condition has an asterisk.

Regards,

Paul.

--