Well, in Oslo at least, is Aktiv Klassisk in Øvre Slottsgate 5, 0157 Oslo, Phone +47 2233 6080. In case you feel like buying me a CD some day, you really can't go wrong this place. And the staff are wonderfull
This is most of all meant as a note-to-self to next time I'll have to do this.
Installed the port mail/courier-authlib with the following options:
WITH_PAM=true
WITHOUT_VPOPMAIL=true
WITH_MYSQL=true
WITHOUT_POSTGRESQL=true
WITHOUT_LDAP=true
WITHOUT_GDBM=true
WITH_AUTHUSERDB=true
Installed Postfix with SASL2 and TLS. Config to Postfix' main.cf:
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous
SASL2 needs "-r -a pam" flags in /usr/local/etc/rc.d/saslauthd.sh and the following in /usr/local/lib/sasl2/smtpd.conf:
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
Finally, /etc/pam.d/smtp:
column=password ...