On Fri, 22 Jan 1999, Steve Sargent wrote:
> This condition statement always yields true regardless of what is in the
> $sender_address_domain field, anyone know what I'v done wrong please?
>
> condition = "${if eq{$sender_address_domain}{*.qmw.ac.uk}{yes}}"
>
> I only want the director to run if the sender is within the QMW domain.
"eq" tests for literal textual equivalence. Since no domain can ever be
"*.qmw.ac.uk" the test will never succeed. I guess you mean "false"
above. You need to use a regular expression to what you want using
"condition". But why not just say
domains = *.qmw.ac.uk
instead of using "condition"?
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
--
*** Exim information can be found at
http://www.exim.org/ ***