Solution of the warning “database /etc/aliases.db is older than source file /etc/aliases”

I noticed once on one of the servers in the files /var/log/mail.log and /var/log/syslog the following warning:

postfix/local[41511]: warning: database /etc/aliases.db is older than source file /etc/aliases

This warning is displayed because someone changed the /etc/aliases file and did not update the /etc/aliases.db database.

To update /etc/aliases.db, run the commands:

cd /etc
sudo newaliases

Done.

See also my article:
Redirecting mail for the root user

Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a comment

Leave a Reply