Re: [Exim] Exim3 and odmrd

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Odhiambo G. Washington
Data:  
Para: exim-users
Assunto: Re: [Exim] Exim3 and odmrd
* Zoong Pham <dpham@???> [20040621 06:16]: wrote:
>
> I try to set up ODMR (latest version from
> http://www.plonk.de/sw/odmr/index.html).
>
> I have problem and want to ask if someone can help me.
>
> I use OpenBSD-3.5 and the its precompiled exim-3.36p2-no_x11-mysql.tgz
> In the webpage above, in the section:
>
> # MAIN CONFIGURATION SETTINGS
> local_domains = [...]:mysql;SELECT domain FROM odmr.domain WHERE domain = '$key'
>
> What should I replace [...] with?
> Should I replace [...] with my server FQDN ?
>
> What is mysql? Is that the name of the MySQL server or is it a
> command? If it's command, should I put the full path?
>
> I want to send and receive mails to and from this local server.
> And I want to queue mails for some virtual domains which clients will use
> ODMR to get their mails.
> Currently (before ODMR) my local_domains is commented out and it
> works as I want.
>
>
> in the section:
> # DIRECTORS CONFIGURATION
>
> odmr_domains:
> driver = smartuser
> transport = odmr
> domains = mysql;SELECT domain FROM odmr.domain WHERE domain = '$domain'
>
> I have the same question, what is "mysql" here?


It is the type of lookup used. The same can be written as

${lookup mysql{SELECT domain FROM odmr.domain WHERE domain = '$domain'}}



        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post