Re: [exim] match_domain question

Top Page
Delete this message
Reply to this message
Author: John Burnham
Date:  
To: exim-users
Subject: 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