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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Always Learning
Ημερομηνία:  
Προς: 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.

--