Re: [exim] match_domain question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: John Burnham
Dátum:  
Címzett: exim-users
Tárgy: 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