[Exim] Variables in the .include

Top Page
Delete this message
Reply to this message
Author: mwalkup
Date:  
To: exim-users
Subject: [Exim] Variables in the .include

This, may seem like a strange question, but is there any way to use an environment variable in a .include?

ie: .include \\\"/etc/exim/$HOSTNAME.conf\\\" ?



Im using CVS, and this would allow me to save all the configs to the CVS (as different files), and just have my exim.conf include the hostname configuration it needs.



My example fails btw, and also:

.include \\\"/etc/exim/${primary_hostname}.conf\\\"

fails. I was thinking that because primary_hostname wasnt set it, it would use the uname.



Thanks in advanced,



Matthew Walkup

GForce Hosting