Yeah, sendmail doesnt work anymore with other main.cf location, I noticed
that so I have removed the "config_directory" variable.
Thanks for the "DEF_CONFIG_DIR" tip.

Regards,
Matthieu.

2011/3/4 Wietse Venema <wie...@porcupine.org>

> Matthieu Ambrosy:
> > Hello all,
> >
> > if you specify a non default "config_directory" variable when using
> > "postfix-install" script, you'll have this error :
> > "postfix: fatal: open /etc/postfix/main.cf: No such file or directory"
>
> This is not supported. It breaks local submission via /usr/sbin/sendmail,
> among other things.
>
> The supported options are:
>
> 1) Install Postfix first with default config directory, then
> install a secondary instance with non-default config directory.
> See MULTI_INSTANCE_README.html.
>
> 2) Build Postfix with DEF_CONFIG_DIR override. See INSTALL file.
>
>        Wietse
>
> > To solve it, in the last line of "postfix-install", replace :
> > "bin/postfix post-install $post_install_options || exit 1"
> > by
> > "bin/postfix -c $CONFIG_DIRECTORY post-install $post_install_options ||
> exit
> > 1"
> >
> > Regards,
> > Matthieu.
>
>

Reply via email to