Some part of postfix (possibly postmulti, I'm not sure) does not appear
to be evaluating recursive expressions in parameter values in main.cf
Here are the symptoms I am experiencing:
When creating a new postfix instance using:
postmulti -I postfix-instance -e create
The following is added to /etc/postfix/main.cf
multi_instance_wrapper = ${command_directory}/postmulti -p --
Then, when starting postfix using:
/etc/init.d/postfix start
I get the following error:
* Starting Postfix Mail Transport Agent postfix
postfix: fatal: /postmulti: No such file or directory
When I edit /etc/postfix/main.cf as follows:
multi_instance_wrapper = /usr/sbin/postmulti -p --
Then I am able to start postfix using:
/etc/init.d/postfix start
A possibly related issue is that when configuring an instance of postfix
by editing /etc/postfix-instance/main.cf as follows:
multi_instance_name = postfix-$myhostname
myhostname = mx.example.com
And then running:
postmulti -l
I see a list of instances, but the instance name shows the literal
expression "postfix-$myhostname" and not the result of evaluating the
expression, in this case, "postfix-mx.example.com".
Any suggestions for further troubleshooting, or is this a bug?
I am working with Postfix version 2.6.5 on Ubuntu Server version 9.10
beta with kernel version 2.6.30.
Thanks!
Daniel Kauffman