2011-05-31 :-(
_ [postfix]/usr/pkgsrc/mail/postfix
===> Building binary package for postfix-2.8.3 => Creating binary package /usr/pkgsrc/packages/All/postfix-2.8.3.tgz ===> Install binary package of postfix-2.8.3 postfix-2.8.3: /usr/pkg/etc/postfix/main.cf already exists postfix-2.8.3: /usr/pkg/etc/postfix/master.cf already exists postfix-2.8.3: setting permissions on /usr/pkg/sbin/postdrop (o=postfix, g=maildrop, m=2555) postfix-2.8.3: setting permissions on /usr/pkg/sbin/postqueue (o=postfix, g=maildrop, m=2555) =========================================================================== The following files are used by postfix-2.8.3 and have the wrong ownership and/or permissions: /etc/rc.d/postfix (m=0755) =========================================================================== =========================================================================== $NetBSD: MESSAGE,v 1.8 2004/07/19 22:03:13 jlam Exp $ Please run the following command to update main.cf and master.cf with the latest Postfix services and configuration directives: /usr/pkg/sbin/postfix upgrade-configuration If you are upgrading from a previous Postfix installation, you may want to back up any existing configuration files before running the above command. Postfix may be activated by executing: /usr/pkg/sbin/postfix start =========================================================================== =========================================================================== $NetBSD: MESSAGE.NetBSD,v 1.5 2010/03/02 08:07:36 martti Exp $ The existing /etc/rc.d/postfix can be forced to start /usr/pkg/sbin/postfix instead of /usr/sbin/postfix, by adding the following lines to /etc/rc.conf.d/postfix: postfix_command='/usr/pkg/sbin/postfix' required_files='/usr/pkg/etc/postfix/main.cf' start_cmd='/usr/pkg/sbin/postfix start' stop_cmd='/usr/pkg/sbin/postfix stop' reload_cmd='/usr/pkg/sbin/postfix reload' postconf='/usr/pkg/sbin/postconf' Please note that /etc/rc.conf.d/postfix does not exist by default so you need to create that file if you need to override the default settings. Remember to modify /etc/mailer.conf to use /usr/pkg/sbin/sendmail instead of /usr/libexec/postfix/sendmail. ===========================================================================
言われたとおりに仕事する。
% cd /usr/pkg/etc/postfix % sudo /usr/pkg/sbin/postfix upgrade-configuration Editing /usr/pkg/etc/postfix/master.cf, adding missing entry for retry service Editing /usr/pkg/etc/postfix/master.cf, adding missing entry for proxywrite service Editing /usr/pkg/etc/postfix/master.cf, adding missing entry for postscreen TCP service Editing /usr/pkg/etc/postfix/master.cf, adding missing entry for smtpd unix-domain service Editing /usr/pkg/etc/postfix/master.cf, adding missing entry for dnsblog unix-domain service Editing /usr/pkg/etc/postfix/master.cf, adding missing entry for tlsproxy unix-domain service Note: the following files or directories still exist but are no longer part of Postfix: /usr/pkg/etc/postfix/postfix-files /usr/pkg/etc/postfix/postfix-script /usr/pkg/etc/postfix/post-install
んん?
% su # /usr/pkg/sbin/postfix upgrade-configuration Note: the following files or directories still exist but are no longer part of Postfix: /usr/pkg/etc/postfix/postfix-files /usr/pkg/etc/postfix/postfix-script /usr/pkg/etc/postfix/post-install
ふむ
% sudo rm post-install postfix-files postfix-script
あとは /etc/rc.d/postfix を適当に書いて再起動
[ツッコミを入れる]