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

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Nico Erfurth
Ημερομηνία:  
Προς: Doug Fields, Exim-Users (E-mail)
Αντικείμενο: 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