Am 09.02.2015 um 21:51 schrieb 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

[root@testserver:~]$ postconf -d meta_directory
meta_directory = /etc/postfix

ok, add -DDEF_META_DIR to CCARGS changes the default
issue solved, postfix 3.0 is running perfectly - thanks!

CCARGS="-fPIC -DNO_NIS -DNO_NISPLUS -DNO_EAI -DNO_LMDB -DNO_CDB -DNO_LDAP -DNO_PGSQL -DNO_SQLITE -DHAS_PCRE -I%{_includedir}/pcre -DHAS_MYSQL -I%{_includedir}/mysql -DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I%{_includedir}/sasl -DDEF_CONFIG_DIR=\\\"%{postfix_config_dir}\\\" -DDEF_META_DIR=\\\"%{postfix_daemon_dir}\\\""

[root@testserver:~]$ postconf -d meta_directory
meta_directory = /usr/libexec/postfix

Reply via email to