fatal: open database /etc/postfix/aliases.db: No such file or directory

Posted on February 20, 2012

Today I found one of my server can’t send mail successfully ,and I try to restart postfix service but get below error from /etc/log/maillog

fatal: open database /etc/postfix/aliases.db: No such file or directory

 

Then I just checked /etc/postfix directory,there is no aliases and aliases.db file,so I did the below steps,everything works well then:

service postfix stop

ln -s /etc/aliases /etc/postfix/aliases

newaliases

service postfix start

Note:if you only missed the aliases.db file,so you need not to create the link from /etc/aliases to /etc/postfix/aliases

Popularity: 1% [?]

Related Posts:

» Filed Under Linux

Comments

Leave a Reply