0

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?

2
  • 1
    That's pretty much a given, considering I'm having a problem, and asking for help. Sep 20, 2013 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.
    – Ruskes
    Sep 20, 2013 at 18:17

1 Answer 1

2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .