Page 1 of 1

postfix: database older than source file

Posted: 09 Mar 2015 14:51
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.

Re: postfix: database older than source file

Posted: 09 Mar 2015 20:50
by shawniverson
:happy-jumpeveryone:

Re: postfix: database older than source file

Posted: 10 Mar 2015 08:12
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?

Re: postfix: database older than source file

Posted: 11 Mar 2015 19:09
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.