[exim] Setting primary_hostname via command?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Toralf Lund
Date:  
À: exim-users
Sujet: [exim] Setting primary_hostname via command?
Is there any way I can set the value of a main config setting like
primary_hostname to the output of a system command? I've tried

primary_hostname = ${run{<command>}}

of course, but that doesn't work; it looks like the string isn't
expanded, so the value is literally set to ${run{<command>}}.

Actually, one of the things that's always confused me most about the
exim config setup is the whole string expansion mechanism...

- Toralf