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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Always Learning
Datum:  
To: Exim Users
Betreff: 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.

--