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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Always Learning
Dátum:  
Címzett: Exim Users
Tárgy: 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.

--