Re: [exim] match_domain question

Inizio della pagina
Delete this message
Reply to this message
Autore: Ted Cooper
Data:  
To: exim-users
Oggetto: 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