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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Nico Erfurth
Datum:  
To: Doug Fields, Exim-Users (E-mail)
Betreff: 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