Re: [exim] match_domain question

Top Page
Delete this message
Reply to this message
Author: Ted Cooper
Date:  
To: exim-users
Subject: Re: [exim] match_domain question
Dan_Mitton@??? wrote:
> Why does:
>
> exim -be '${if match_domain{foo.abc.com}{abc.com}{true}{false}}'
>
> return:
>
> false
>
> ???


Because "foo.abc.com" != "abc.com".

Try
${if match_domain{foo.abc.com}{*.abc.com}{true}{false}}

--
The Exim Manual
http://www.exim.org/docs.html
http://www.exim.org/exim-html-current/doc/html/spec_html/index.html