SHIFT

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

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





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.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2019/05/01 14:08 2 Comments
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments

fixpostfixdatabaseolder

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 master.cf 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.

Solution

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

Resources

You could leave a comment if you were logged in.
fixpostfixdatabaseolder.txt · Last modified: 2013/04/20 11:25 by sjoerd