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

Pàgina inicial
Delete this message
Reply to this message
Autor: Exim User's Mailing List
Data:  
A: Exim User's Mailing List
Assumpte: 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.