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{[email protected]}{[email protected]}{true}{false}}'
true

exim -be '${if match_address{[email protected]}{foo.abc.com}{true}{false}}'
true

exim -be '${if match_domain{[email protected]}{foo.abc.com}{true}{false}}'
false

exim -be '${if
match_domain{${domain:[email protected]}}{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

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to