postfix - fatal: open database /etc/aliases.db: Invalid argument
Martin Hudec (webmail)
corwin at aeternal.net
Wed Mar 24 03:36:14 PST 2004
Hello all,
Today I have installed on my desktop (with 5.2.1-p3 FreeBSD) postfix (as
replacement for sendmail, rc.conf now has sendmail_enable set to NONE) with
tls,db41,sasl2, and I have configured it as I always do (only difference is
relayhost which is set to another server in my local network and
newaliases_path which on my 4.9 FreeBSD goes to /usr/bin/newaliases).
Also I used newaliases to create aliases.db.
After I tried telnet localhost 25, but no banner showed up.. and postfix went
throttling..
Yesterday I did the same installation of postfix on one machine with 4.9
FreeBSD and all was fine.
Please can anyone direct me on how to fix this mess?
Thank you,
Martin
In /var/log/maillog I found following:
Mar 24 12:25:17 pleiades postfix/postfix-script: stopping the Postfix mail system
Mar 24 12:25:17 pleiades postfix/master[7578]: terminating on signal 15
Mar 24 12:25:19 pleiades sendmail[7597]: alias database /etc/mail/aliases
rebuilt by corwin
Mar 24 12:25:19 pleiades sendmail[7597]: /etc/mail/aliases: 25 aliases,
longest 10 bytes, 256 bytes total
Mar 24 12:25:22 pleiades postfix/postfix-script: starting the Postfix mail system
Mar 24 12:25:22 pleiades postfix/master[7643]: daemon started -- version 2.0.19
Mar 24 12:25:32 pleiades postfix/smtpd[7648]: fatal: open database
/etc/aliases.db: Invalid argument
Mar 24 12:25:33 pleiades postfix/master[7643]: warning: process
/usr/local/libexec/postfix/smtpd pid 7648 exit status 1
Mar 24 12:25:33 pleiades postfix/master[7643]: warning:
/usr/local/libexec/postfix/smtpd: bad command startup -- throttling
postconf shows about aliases this:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
newaliases_path = /usr/local/bin/newaliases
properties of /etc/aliases*
-rw-r--r-- 1 root wheel 1591 Mar 24 10:03 aliases
lrwxr-xr-x 1 root wheel 20 Mar 24 10:13 aliases.db ->
/etc/mail/aliases.db
and /etc/mail/aliases.db has
-rw-r----- 1 root wheel 65536 Mar 24 12:25 aliases.db
uname -a
FreeBSD pleiades.aeternal.net 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #1:
Thu Mar 18 16:57:31 CET 2004
corwin at pleiades.aeternal.net:/usr/obj/usr/src/sys/PLEIADES i386
--
aEternal.net WebMail (http://mail.aeternal.net)
More information about the freebsd-questions
mailing list