Re: [EXIM] condition

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: exim-users-request
Fecha:  
A: Steve Sargent
Asunto: Re: [EXIM] condition
Quoth Steve Sargent on Fri, Jan 22, 1999:
> 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}}"


Does it yield true when you want false, or does it yield false
when you want true? I think that the * in the beginning is
illegal. Try to do:

condition = "${if match{$sender_address_domain}{\\.qmw\\.ac\\.uk\$}{yes}fail}"

Vadik.

-- 
Prof:    So the American government went to IBM to come up with a data
         encryption standard and they came up with ...
Student: EBCDIC!


--
*** Exim information can be found at http://www.exim.org/ ***