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

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: exim-users
Subject: 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.