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

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: exim-users
Assumpte: 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.