Re: [Exim] Variable expansion doesn't work anymore

Góra strony
Delete this message
Reply to this message
Autor: Steven J. Sobol
Data:  
Dla: exim-users
Temat: Re: [Exim] Variable expansion doesn't work anymore
On Wed, 30 Jun 2004, Steven J. Sobol wrote:

> VIRTUSER_SPECIFIC_USER=SELECT destination FROM virtusers WHERE
> domain='${domain}' AND user='${local_part}'


> VIRTUSER_FORWARD_DOMAIN=SELECT CONCAT('${local_part}','@',destination)
> FROM virtusers WHERE domain='${domain}'$


> VIRTUSER_SINGLE_DEFAULT=SELECT destination FROM virtusers WHERE
> domain='${domain}' AND user='__DEFAULT__'


Whoops.

Second macro should read

VIRTUSER_FORWARD_DOMAIN=SELECT CONCAT('${local_part}','@',destination)
FROM virtusers WHERE domain='${domain}' AND user='__FORWARD_TO__'

--
JustThe.net Internet & New Media Services, http://JustThe.net/
Steven J. Sobol, Geek In Charge / 888.480.4NET (4638) / sjsobol@???
PGP Key available from your friendly local key server (0xE3AE35ED)
Apple Valley, California     Nothing scares me anymore. I have three kids.