--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Recently Changed Pages:

View All Pages

View All Tags


WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.

Pages with comments

View All Comments


Fix: Postfix: Database Older Than Source File

We got these error messages on a few of our postfix servers:

warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual

warning: database /etc/postfix/transport.db is older than source file /etc/postfix/transport

These messages appear whenever one of these databases/tables is changed.

Transport Database

The optional transport table specifies a mapping from email addresses to message delivery transports and next-hop destinations. Message delivery transports such as local or smtp are defined in the file, and next-hop destinations are typically hosts or domain names.

Virtual Database

The optional virtual alias table rewrites recipient addresses for all local, all virtual, and all remote mail destinations. This is unlike the aliases table which is used only for local delivery.
The main applications of virtual aliasing are:

  • To redirect mail for one address to one or more addresses.
  • To implement virtual alias domains where all addresses are aliased to addresses in other domains.


Issue these commands depending on the messages you get:

postmap /etc/postfix/transport
postmap /etc/postfix/virtual
Note: Although everyone suggests you should restart postfix after the command I didn't and the messages went away. If you need however to restart postfix you could do that like this:
service postfix restart


You could leave a comment if you were logged in.
fixpostfixdatabaseolder.txt · Last modified: 2021/09/24 00:24 (external edit)