Re: [exim] shell commands in exim.conf macros?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Exim User's Mailing List
日付:  
To: Exim User's Mailing List
題目: Re: [exim] shell commands in exim.conf macros?
OpenMacNews wrote:
> is it possible to expand a shell command in an exim.conf macro
>
> but this, with the "dig" cmd
>     MY_HOSTNAME         = mybox.mydomain.com
>     MY_DNS              = 10.0.0.6
>     MY_IP               = `dig +short @MY_DNS MY_HOSTNAME`
>     local_interfaces    = MY_IP : 127.0.0.1 : ::::1


It depends what you are trying to use it with. If you are putting the macro in
something that uses string expantion and that allows that use of the the ${run
string expantion, then go look at:

http://www.exim.org/exim-html-4.50/doc/html/spec_11.html#IX853

Ted.