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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Steven J. Sobol
日付:  
To: exim-users
題目: 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.