Re: [exim] match_domain question

Góra strony
Delete this message
Reply to this message
Autor: Ted Cooper
Data:  
Dla: exim-users
Temat: 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