li...@rhsoft.net:
> Am 09.02.2015 um 21:46 schrieb Wietse Venema:
> > li...@rhsoft.net:
> >> well, meta_directory=%{postfix_daemon_dir} at build leads in
> >> /usr/libexec/postfix/postfix-files instead /etc/postfix/postfix-files
> >> but postfix refuses to start like below
> >>
> >> cp /usr/libexec/postfix/postfix-files /etc/postfix/postfix-files
> >
> > Please do a proper install without copying files by hand
> 
> *i do*
> 
> that was only to demonstrate that it still seeks it in /etc
> the problem is that built-in "meta_directory" defaults to /etc/postfix

meta_directory (default: see 'postconf -d' output)
       ...
       For  backwards  compatibility  with Postfix versions 2.6..2.11, specify
       "meta_directory = $daemon_directory" in main.cf  before  installing  or
       upgrading  Postfix,  or  specify  "meta_directory  = /path/name" on the
       "make makefiles", "make install" or "make upgrade" command line.

So, you do it in main.cf *before* installation or at install time: 

    $ make makefiles meta_directory=/path/name ...

    # make install meta_directory=/path/name ...

    # make upgrade meta_directory=/path/name ...

If these do not work, let me know. If your build script is borked,
then you will have to fix it.

        Wietse

Reply via email to