Browse Source

postfix: fixed installation

NOTE: Still not perfect and needs a lots of work!
stable/0.6
Christian Wiese 11 years ago
parent
commit
099391d3a7
  1. 13
      mail/postfix/postfix.conf

13
mail/postfix/postfix.conf

@ -46,18 +46,25 @@ pkg_postfix_inmake() {
sed -i -e "s,man1/mailq.1,man1/mailq_postfix.1," \ sed -i -e "s,man1/mailq.1,man1/mailq_postfix.1," \
-e "s,man1/newaliases.1,man1/newaliases_postfix.1," \ -e "s,man1/newaliases.1,man1/newaliases_postfix.1," \
-e "s,man5/aliases.5,man5/aliases_postfix.5," \ -e "s,man5/aliases.5,man5/aliases_postfix.5," \
conf/postfix-files conf/postfix-files man/Makefile.in libexec/postfix-files
mv man/man5/aliases{,_postfix}.5 mv man/man5/aliases{,_postfix}.5
mv man/man1/newaliases{,_postfix}.1 mv man/man1/newaliases{,_postfix}.1
mv man/man1/mailq{,_postfix}.1 mv man/man1/mailq{,_postfix}.1
} }
pkg_postfix_postmake() { pkg_postfix_postmake() {
./postfix-install -non-interactive \ ./postfix-install -non-interactive install_root=$root \
config_directory=$sysconfdir/postfix \
daemon_directory=$sbindir \
data_directory=$datadir \
command_directory=$bindir \
queue_directory=$localstatedir/mail/postfix \
mail_owner=postfix \
setgid_group=postfix \
sendmail_path=$sbindir/sendmail_postfix \ sendmail_path=$sbindir/sendmail_postfix \
newaliases_path=$bindir/newaliases_postfix \ newaliases_path=$bindir/newaliases_postfix \
mailq_path=$bindir/mailq_postfix \ mailq_path=$bindir/mailq_postfix \
install_root=$root \ html_directory=$docdir/html \
manpage_directory=$mandir \ manpage_directory=$mandir \
sample_directory=$docdir \ sample_directory=$docdir \
readme_directory=$docdir readme_directory=$docdir

Loading…
Cancel
Save