Package: postfix
Version: 3.1.12

We have a lot of postfix on my company and i switch from Jessie to Stretch and 
now i found a problem with path of directory default for multiple instances. 
It's /etc by default and we don't have to possiblity to change that.

For example, i have
/etc/postfix-instance/instance_1
/etc/postfix-instance/instance_2
/etc/postfix-instance/instance_3

error message:

Apr 29 01:01:26 server configure-instance.sh[35265]: postconf: fatal: open 
/etc/instance_1/main.cf: No such file or directory
Apr 29 01:01:26 server configure-instance.sh[35263]: postconf: fatal: open 
/etc/ instance_2/main.cf: No such file or directory
Apr 29 01:01:26 server configure-instance.sh[35272]: postconf: fatal: open 
/etc/ instance_3/main.cf: No such file or directory


Version of postfix:
ii  postfix                                               3.1.12-0+deb9u1       
          amd64                           High-performance mail transport agent


But when i trying to restart the configuration, it's doesn't found my 
configuration of any instances.

 I suggest to change this on init.d/postfix
25                  DIRECTORY_INSTANCE=postfix-instance
63                 /usr/lib/postfix/configure-instance.sh $INSTANCE

Thanks for your help,

Regards,

Jimmy


Reply via email to