Re: [Exim] Problem with ${if ...} [Exim 4.30]

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Nico Erfurth
Data:  
Para: Doug Fields, Exim-Users (E-mail)
Assunto: Re: [Exim] Problem with ${if ...} [Exim 4.30]
Doug Fields schrieb:

> Expansion of "${if" from command "/opt/bin/acceptmail -a ${if eq
> {}{${authenticated_id}} {NONENONE} {${authenticated_id}} } -f
> ${sender_address} -i ${interface_address} -o ${sender_host_address} -b"
> in remotemail_transport transport failed: condition name expected, but
> found ""


The command is expanded in whitespace delimeted chunks.
Just enclose the whole if-condition with ", like

command = /opt/bin/acceptmail -a "${if eq ....}" -f ....

Nico