Subject: HEADS UP: postfix-2.1.5nb1 and .db tables
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 12/02/2004 09:15:24
Hi!

After jlam's modification I got this on my maillog:

Dec  2 08:52:26 p2 postfix/local[28258]: fatal: open database 
/etc/mail/aliases.db: Invalid argument
Dec  2 08:52:27 p2 postfix/master[15463]: warning: process 
/usr/pkg/libexec/postfix/local pid 28258 exit status 1
Dec  2 08:52:27 p2 postfix/master[15463]: warning: 
/usr/pkg/libexec/postfix/local: bad command startup -- throttling

I fixed this recreating the alias.db file

# /usr/pkg/sbin/postalias /etc/mail/aliases

I also needed to recreate my other .db files in /usr/pkg/etc/postfix
by using the /usr/pkg/sbin/postmap and /usr/pkg/sbin/postalias tools.
It's important to note that the in-tree postmap and postalias in /usr/sbin
do not work any more!

Finally I must say (as the postfix maintainer that) I don't understand why
this depends on db4 as it worked perfectly fine with the NetBSD db library...

Martti