Re: [exim] Picking domains from the table

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Adrian Chapela
Data:  
Para: Nitin Gupta
CC: exim-users
Assunto: Re: [exim] Picking domains from the table
Nitin Gupta escribió:
> Hello All
> I will tell you my exact problem...I am using hide pgsql_servers in conf
> file and i am using select domain from tbl_domain in domainlist
> local_domains
>
> now it should pick up the domains only from tbl_domain,but it is saying
> comppleted for each and every domain.
> Please advice what changes should i make in conf file
>
> Regards
> Nitin
>
>
>
>

If I understand your question well, this could be a valid solution:

domainlist sql_virtual_domains = localhost: mysql;SELECT domain FROM
domains where domain='$domain'
domainlist local_domains = localhost : +sql_virtual_domains
>
>
> DISCLAIMER:
> The contents of this e-mail (and any attachments) are confidential, may be privileged and may contain copyright material of Company or third parties. You may only reproduce or distribute the material if you are expressly authorized by us to do so.
>
> If you are not the intended recipient, any use, disclosure or copying of this e-mail (and any attachments) is unauthorized. If you have received this e-mail in error, please notify the sender via e-mail; delete it and any copies of it from your system.
>
> Although this message and its attachments have been scanned for viruses and no viruses were detected, no responsibility whatsoever is accepted by the Company for any loss or damage arising in any way from receipt or use thereof.
>