[Exim] Variables in the .include

Startseite
Nachricht löschen
Nachricht beantworten
Autor: mwalkup
Datum:  
To: exim-users
Betreff: [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