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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Nico Erfurth
Date:  
À: Doug Fields, Exim-Users (E-mail)
Sujet: 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