hi ted/tony,
is it possible to expand a shell command in an exim.conf macrobut 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
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
...
No, only via string expansion. However, local_interfaces is not expanded
well, rats.i guess my option is to create a preprocessor file -- e.g. m4/perl -- and do whatever expansion i need/want there.
inconvenient, but eminently doable. thx 4 the clarification! cheers, richard
pgpxly5PUVKSm.pgp
Description: PGP signature
-- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
