Re: [Exim] Exim & MySQL

トップ ページ
このメッセージを削除
このメッセージに返信
著者: William Thompson
日付:  
To: Philip Hazel
CC: exim-users
題目: Re: [Exim] Exim & MySQL
> Here's what I did:
> domainlist local_domains = localhost : \
>         ${lookup{$domain}lsearch{/etc/exim4/localdomains}} : \
>         ${lookup mysql{select domain \
>                         from eximconf.localdomains \
>                         where enabled='yes' and domain='$domain' \
>                       } \
>          }


Nevermind, I found my mistake here...  I can't do this.  I wish there was an
easier way.  I changed it back to my original that I was testing months ago:
domainlist local_domains = localhost : \
        /etc/exim4/localdomains : \
        ${lookup mysql{select domain \
                        from eximconf.localdomains \
                        where enabled='yes' \
                      } \
                 {${sg{$value}{\N\ *\n\N}{ : }}} \
         }


Anyway of getting around using ${sg {}{}{}} here?