Subject: replacing default postfix 2.1.5 with 2.2.9
To: None <netbsd-users@netbsd.org>
From: None <dick@uchicago.edu>
List: netbsd-users
Date: 03/31/2006 15:08:55
greetz,

i'm setting up postfix on a netbsd-3.0 machine and i've hit a snag with
replacement of the default postfix 2.1.5 with 2.2.9 from pkgsrc. i compiled
postfix 2.2.9 from pkgsrc with SASL2 and TLS support and that all went fine:

# pkg_info 
pkg_info: disabling PKG_PATH when operating on all packages.
...
cyrus-sasl-2.1.20nb3 Simple Authentication and Security Layer
postfix-2.2.9       Postfix SMTP server and tools
cy2-crammd5-2.1.20nb1 Cyrus SASL CRAM-MD5 authentication plugin
cy2-login-2.1.20nb1 Cyrus SASL LOGIN authentication plugin
cy2-gssapi-2.1.20nb1 Cyrus SASL GSSAPI authentication plugin
cy2-plain-2.1.20nb1 Cyrus SASL PLAIN authentication plugin

however, i am very confused as to how to correctly replace the old postfix 2.1.5
and get 2.2.9 running in its place. i would have supposed that since 2.2.9 was
installed as a package, the executable /usr/pkg/sbin/postfix would only apply to
2.2.9 and not 2.1.5. this is clearly not the case:

# /usr/pkg/sbin/postfix start
postfix/postfix-script: starting the Postfix mail system

and then a peek at /var/log/maillog shows:

Mar  31 12:26:23 mail postfix/postfix-script: starting the Postfix mail system
Mar  31 12:26:23 mail postfix/master[9599]: daemon started -- version 2.1.5
Mar  31 14:19:23 mail postfix/smtpd[14024]: warning: smtpd_sasl_auth_enable is
true, but SASL support is not compiled in

how do i get the new version of postfix to work, both manually and on boot? what
settings have i missed?

i am not subscribed to the netbsd-users list, so please CC me in replies. btw,
cgd rocks.

kind regards,
jake