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

Top Page
Delete this message
Reply to this message
Author: Nico Erfurth
Date:  
To: Doug Fields, Exim-Users (E-mail)
Subject: 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