When I start postfix, I see in /var/log/system.log the following error:

error: open database /etc/postfix/system_user_maps.db: No such file or directory

How should this file be created so that postfix can start properly?

I tried doing touch on this file, but I get the error

postfix/cleanup[871]: warning: hash:/etc/postfix/system_user_maps is unavailable. open database /etc/postfix/system_user_maps.db: Inappropriate file type or format`

Is there a postmap command that sets this up?

  • 1
    That's pretty much a given, considering I'm having a problem, and asking for help. – Mark Richman Sep 20 '13 at 15:43
  • The question is missing details (for example what have you tried), to be interesting enough for someone to spend time answering it. – Buscar웃 Sep 20 '13 at 18:17

I figured it out. You need to not only touch /etc/postfix/system_user_maps but also run sudo postmap /etc/postfix/system_user_maps to create /etc/postfix/system_user_maps.db. Then postfix will start up.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.