Postfix error in logs fatal: open database /etc/aliases.db

ant
Posts: 34
Member Since:
2006-06-03

Browsing though my my email logs I find this error being logged every minute:
trixbox1 postfix/smtp[14690]: fatal: open database /etc/postfix/saslpasswd.db: No such file or directory
trixbox1 postfix/master[2293]: warning: process /usr/libexec/postfix/smtp pid 14690 exit status 1
trixbox1 postfix/master[2293]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling

I read up about a solution here http://www.postfix.org/faq.html#noalias
and tried to run newaliases at the CLI, but this did not seem to help, it did recreate the file.
The file aslpasswd is also present in the directory

My first attempt at sending mail did not work, and I think it's related to this error.
Anyone know how to fix this error, or shed more light on it?



ant
Posts: 34
Member Since:
2006-06-03
to answer my own question...

The problem was setup-mail script was not run on installation. Running that at the CLI solved the problem.

I initially did not run this script because when you type trixbox-help, the note next to the script says its used to install "sendmail" I was using postfix , so I thought I should not run the script.
Might be a small typo/bug that ?

The log errors cleared up immediately and mail went out succesfully -resolved. :)



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.