/etc/postfix/virtusertable.db is older than source file

Discussion in 'General' started by DrJohn, Jul 31, 2010.

  1. DrJohn

    DrJohn Member

    The following has been showing up in /var/log/mail/log:
    Code:
    Jul 30 18:56:05 m2a74am-vm1 postfix/smtpd[18701]: warning: database /etc/postfix/virtusertable.db is older than source file /etc/postfix/virtusertable
    Jul 30 18:56:05 m2a74am-vm1 postfix/trivial-rewrite[18706]: warning: database /etc/postfix/virtusertable.db is older than source file /etc/postfix/virtusertable
    Jul 30 18:56:06 m2a74am-vm1 postfix/cleanup[18709]: warning: database /etc/postfix/virtusertable.db is older than source file /etc/postfix/virtusertable
    Jul 30 18:58:07 m2a74am-vm1 postfix/smtpd[18783]: warning: database /etc/postfix/virtusertable.db is older than source file /etc/postfix/virtusertable
    Jul 30 18:58:10 m2a74am-vm1 postfix/trivial-rewrite[18786]: warning: database /etc/postfix/virtusertable.db is older than source file /etc/postfix/virtusertable
    But I have:
    Code:
    522652  8 -rw-r--r--  1 root root  5018 2010-07-30 18:58 virtusertable
    522523  8 -rw-r--r--  1 root root  5018 2010-07-30 18:58 virtusertable~
    522653 12 -rw-r--r--  1 root root 12288 2010-07-30 18:58 virtusertable.db
    The source table and the db have the same date, and the dates of the files and the log dates are the same (ignoring the fractional seconds), so it seems as if postfix has caused the problem when updating the .db file.
    I ran:
    Code:
    username@m2a74am-vm1:/etc/postfix$ sudo postmap virtusertable
    so that virtusertable.db is now newer than the table source.

    I'll see if the log still has this warning after the postfix cleanup etc. run later today. I think that this only started once I had updated ispconfig to 2.2.36, but if it continues to show these warnings is there something else to do to stop them?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The warning do not harm. If you want to stop them, run:

    sudo postmap /etc/postfix/virtusertable
     

Share This Page