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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jakob Hirsch
Date:  
À: exim-users
Sujet: 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.