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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Always Learning
Date:  
À: Exim Users
Sujet: 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.

--