Autor: Doug Fields Fecha: A: exim-users Asunto: [Exim] Problem with ${if ...} [Exim 4.30]
Hello all,
I'm trying to use a pipe transport which takes a command-line parameter
using the $authenticated_id variable. However, I want the parameter to
be NONE (or somesuch) when that parameter is not available because the
user didn't authenticate (say, they were in an allowed relay IP
address).
However, I'm getting an error when I do this:
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 ""