danten.io

Postfix: Aliases DB Older Than Source

As a Linux SysAdmin you’ll want to have clean logs. Especially a clean syslog.

If your logs are all cluttered up with too many warnings, it’s easier to miss out on the important stuff. That’s why it’s good practice to clean out warnings and errors as soon as you spot them. So this here turned up in the /var/log/syslog of one of my servers:

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

Everything works just fine - apart from the new aliases you set. The MTA aka Postfix is running as expected, stable as a rock.

But we’ll need to tell Postfix that our aliases have been updated:

$ newaliases

And then simply reload Postfix:

$ postfix reload

And voilĂ  we’re good to go!

:wq

#Postfix #Debian