著者: John Burnham 日付: To: 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