My problem is with exim.conf where i try to set hostname using perl
In exim.conf
host = "${perl{func}{arg}}"
In exim.pl.local its accessing Exim variable from exim.conf in following way
my $phost = Exim::expand_string('$primary_hostname');
However, the value is not getting evaluated and the value of "$phost" comes out to be literal as follow.
print $phost //outputs ${perl{func}{arg}}.
Any way i can change the code in exim.conf or exim.pl.local to get the result of the subroutine?