Re: [exim] Whitelist using mySQL

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ian Eiloart
Dátum:  
Címzett: george, exim-users
Tárgy: Re: [exim] Whitelist using mySQL


--On 4 January 2007 09:48:48 -0500 Geoge Ascione <george@???>
wrote:

> The database contains a simple domainname filed with the domain.com
> without the @.


Please don't top post. You lose the order of the conversation.

If the @ isn't in the database, then you don't want it in the query.

>> -----Original Message-----
>> From: Ian Eiloart [mailto:iane@sussex.ac.uk]
>> Sent: Thursday, January 04, 2007 7:44 AM
>> To: gascione; exim-users@???
>> Subject: Re: [exim] Whitelist using mySQL
>>
>>
>>
>> --On 4 January 2007 07:25:19 -0500 gascione <george@???>
>> wrote:
>>
>> >
>> > !domains = mysql;SELECT domainname FROM exim_whitelist WHERE \
>> > domainname='${quote_mysql:@$domain}'
>> >
>> > This does not work. Any help would be appreciated.
>>
>> Well, it kind of depends what's in your database, but I would not
>> expect
>> that the '@' symbol would be there.
>>
>> --
>> Ian Eiloart
>> IT Services, University of Sussex
>
>




--
Ian Eiloart
IT Services, University of Sussex