Hello,
Using exim 4.80 it seems that the 'match_address' condition will match
against just the domain part if necessary:
============================
exim -be '${if
match_address{jh@???}{jh@???}{true}{false}}'
true
exim -be '${if match_address{jh@???}{foo.abc.com}{true}{false}}'
true
exim -be '${if match_domain{jh@???}{foo.abc.com}{true}{false}}'
false
exim -be '${if
match_domain{${domain:jh@???}}{foo.abc.com}{true}{false}}'
true
============================
My understanding was that match_address would match against the whole
address, not just the domain part.
As expected, the match_domain condition fails unless the domain part of
the address is used.
My question is whether match_address is supposed to match against only
the domain or should it be checking against just the whole address?
The manual does not mention that only the domain may match.
John.
--
John Horne Tel: +44 (0)1752 587287
Plymouth University, UK Fax: +44 (0)1752 587001