Autor: Stanislaw Halik Data: Para: exim-users Assunto: Re: [exim] How can i expand a mysql query ?
On Tue, Aug 15, 2006, John Jetmore wrote: >> Can somebody help me append "/.spambox" to the lookup result without modifying the mysql tables?
> I think you can just add it to the end of the string (after the last } of
> the expansion). As a quick example: > expand> ${eval: 1 + 2}
> 3
> expand> ${eval: 1 + 2}/.spambox
> 3/.spambox
Unfortunately, this will expand to `/.spambox' instead of an empty
string if the ${lookup returns an empty string.
--
Some people say that a monkey would bang out the complete works of Shakespeare
on a typewriter give an unlimited amount of time. In the meantime, what they
would probably produce is a valid sendmail configuration file.
-- Nicholas Petreley