Menu

#4674 aliases database

1.770
closed-fixed
nobody
None
5
2015-11-12
2015-11-09
M.T.R
No

hi,

it appears, that everytime i edit aliases in postfix module,
i get an error message in maillog afterwards saying:

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

cheers

Discussion

  • Jamie Cameron

    Jamie Cameron - 2015-11-10

    That message comes from Postfix, but it is completely harmless (assuming that your email is actually being delivered to aliases properly).

     
    • M.T.R

      M.T.R - 2015-11-10

      i'm not sure.

      i got the info from the internet, that the aliases are read from the aliases.db
      since this is not updated when saving aliases with webmin the mails are not delivered correctly.

      there should always be send "newaliases" after each aliases-saving to update aliases.db

      cheers

       
  • M.T.R

    M.T.R - 2015-11-10

    looking on the internet they say you have always to sne a:
    newaliases
    after changing anything in the aliases setup to update the aliases.db.

    it seems that webmit does not send this message after saving changings.

    atleast, if i send this manually afterwards, the error does not come.

    cheers

     
  • Jamie Cameron

    Jamie Cameron - 2015-11-11

    Actually, Webmin already runs the "newaliases" command after each update to the aliases list.

     
  • M.T.R

    M.T.R - 2015-11-11

    so may be something is broken there.
    atleast it works only if i do this manually each time afterwards.

    is there a way to verify if this command is beeing sent?

    cheers

     
  • M.T.R

    M.T.R - 2015-11-11

    hi again,

    could it be my configuration visible in the attached img,
    that i always get this error after saving aliases?

    if so would i need to use option two, say insert the hash:/etc/aliases in the second line?

    thanks for advice,
    in fact it's not very clear to me <bg></bg>

    cheers

     
  • Jamie Cameron

    Jamie Cameron - 2015-11-12
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2015-11-12

    My apologies - I found a case where Webmin is doing this wrong, causing the newaliases command to fail. I will fix this in the next release.

     
    • M.T.R

      M.T.R - 2015-11-12

      Thanks

       

Log in to post a comment.