Postfix regenerate DB files

Well it’s been a while but I just had an issue – I forgot when you update password files for postfix you need to regenerate them by hand. If you ask me this should be somehow build into the postfix loader but as it is not you must manually run the POSTMAP command. So if you sepcify a “hash” followed by file name you refer to a database file.

Say you have file for storing sasl_password file so the command is postmap sasl_password

Anyway hope this reminds someone out there and saves them a bit of time from chasing you own tail.


Print Friendly, PDF & Email

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.