postfix: database older than source file

General eFa discussion
Post Reply
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

postfix: database older than source file

Post by DaN »

Hi

i've got (maillog)

Code: Select all

postfix/smtpd[7886]: warning: database /etc/postfix/virtual.db is older than source file /etc/postfix/virtual
But i'm sure that nothing is manual changed in "virtual".

Anyway

Code: Select all

cd /etc/postfix
postmap /etc/postfix/access
postmap /etc/postfix/relocated
postmap /etc/postfix/canonical
postmap /etc/postfix/virtual
creates the new db's.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: postfix: database older than source file

Post by shawniverson »

:happy-jumpeveryone:
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

Re: postfix: database older than source file

Post by DaN »

@shawn
Does it make sense to integrate these commands in the E.F.A. update script?

@all
Could it be that this comes from a hard reboot or update? Anyone else with this log entry?
User avatar
darky83
Site Admin
Posts: 541
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: postfix: database older than source file

Post by darky83 »

I have seen this on multiple systems (including non efa based ones).

still havn't found the source for this, seems to be an postfix bug or something.
It looks to appear at random, running the postmap sometimes solves it but for example I run an system (non efa) that is always babling the error in its logs, even if you run the postmaps it still does not seem to fix it.
And at random it also seems to dissapear after a while..

Probably i'm looking over something simple or just plain stupid but I have seen this behaviour for a few years now.
Version eFa 5.x now available!
Post Reply