Re: [exim] match_domain question

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: John Burnham
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] match_domain question
>
> Why does:
>
> exim -be '${if match_domain{foo.abc.com}{abc.com}{true}{false}}'
>
> return:
>
> false
>

Probably down to a little confusion in what a "domain" is. In your example both
foo.abc.com and abc.com are domains and they're not equivalent. If what you want is a test
to determine whether a hostname a.example.com is a member of a domain example.com then
this is not the test you need to use.
John