Re: [exim] How can i expand a mysql query ?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jakob Hirsch
Fecha:  
A: exim-users
Asunto: Re: [exim] How can i expand a mysql query ?
Quoting Stanislaw Halik:

>> expand> ${eval: 1 + 2}/.spambox
> Unfortunately, this will expand to `/.spambox' instead of an empty
> string if the ${lookup returns an empty string.


${lookup mysql {...} {${value}/.spambox}}

But where should it be delivered, when the lookup fails? When the
transport's directory option expands to an emptry string, the delivery
will fail temporarily (I think), and the message ends up in your queue.