Re: [EXIM] majordomo private aliases trouble

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Ben Smithurst
Fecha:  
A: John Horne, Jeffrey Goldberg
Cc: exim-users
Asunto: Re: [EXIM] majordomo private aliases trouble
John Horne wrote:

> The condition may fail because you are implying a sort of 'nested if'.


Works fine with a nested if here. I have one router which uses four
nested ifs.

#mailinglist:
#  driver = domainlist
#  transport = remote_smtp
#  condition = "${if eq{$sender_ident}{majordom} \
#              {${if eq{$sender_host_address}{} \
#              {${if eq{$original_domain}{scientia.demon.co.uk} \
#              {${if match{$original_local_part}{.+-outgoing} \
#              {true}{false}}}{false}}}{false}}}{false}}"
#  route_list = "* post.mail.demon.net bydns_a"


And it worked fine, even though I don't use it anymore.

--
Ben Smithurst : ben@??? : http://www.scientia.demon.co.uk/

PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C  68 32 0E D5 36 05 3D 16
     http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers)


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