Sahil Tandon:
> When trying to install snapshot 20111118, I get a fatal postconf error
> if master.cf does not exist in the $config_directory.  There is no
> problem if main.cf is missing from $config_directory; bin/postconf only
> seems to complain (at install stage, when called by the postfix-install
> script) if master.cf is not found.  This is new to me, and could very
> well be idiosyncratic to my installation procedure. But before I
> troubleshoot further on my end, I wonder if anyone else can generally
> reproduce this?

This is easy enough to fix.

        Wietse

*** /var/tmp/postfix-2.9-20111118/postfix-install       Thu Jun 23 12:20:21 2011
--- ./postfix-install   Sat Nov 19 18:06:05 2011
***************
*** 363,369 ****
  
  : ${install_root=/}
  : ${tempdir=`pwd`}
! : ${config_directory=`bin/postconf -h -d config_directory`}
  
  # Find out the location of installed configuration files.
  
--- 363,369 ----
  
  : ${install_root=/}
  : ${tempdir=`pwd`}
! : ${config_directory=`bin/postconf -c conf -h -d config_directory`}
  
  # Find out the location of installed configuration files.
  
***************
*** 446,452 ****
      case "$junk" in
      "") eval unset $name;;
      esac
!     eval : \${$name=\`bin/postconf -d -h $name\`} || exit 1
  done
  
  # Override settings manually.
--- 446,452 ----
      case "$junk" in
      "") eval unset $name;;
      esac
!     eval : \${$name=\`bin/postconf -c conf -d -h $name\`} || exit 1
  done
  
  # Override settings manually.

Reply via email to