Postifix errors

Discussion in 'Server Operation' started by Hans, Feb 27, 2007.

  1. Hans

    Hans Moderator

    Since today i have the following error in my /var/log/mail.warn file:

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

    I gave the command postmap /etc/postfix/virtusertable to and restarted postfix to solve the problem, but this but it does not help.

    What steps can i take to solve this problem and more important, how is it possible that this suddenly occur?


    Now I've tried these commands:

    locate hosts
    postmap /etc/postfix/virtusertable
    /etc/init.d/postfix restart

    And i verify the results...


    It's working.
    The commands:

    locate hosts

    did the trick. :)

    I'm still wondering how this could happen?
    Can anyone tell me more, why errors like descibed above suddenly can appear?
    Last edited: Feb 27, 2007
  2. falko

    falko Super Moderator

    These commands do nothing but search for everything that contains the string "hosts" in the name. It does not fix anything.

    If your Postfix is running chrooted, there might be a second virtusertable file (ususally /var/spool/postfix/etc/postfix/virtusertable), and maybe Postfix is complaining about that one?
  3. Hans

    Hans Moderator

    The output of "locate virtusertable" is:


    The server has been completely setup according the setup here:

    I still do not have errors anymore, but i was interested in the cause.
  4. falko

    falko Super Moderator

    Looks ok.

    Maybe someone (or a script) restarted Postfix after /etc/postfix/virtusertable was modified, but before the postmap command was run?
  5. Hans

    Hans Moderator

    Thanks for your reply Falko,
    I'll check that.

Share This Page