Postfix fails with unsupported dictionary type: hash after upgrading to RHEL 10

Solution Verified - Updated -

Issue

After upgrading a system to RHEL 10.0, Postfix may fail to rebuild aliases or start correctly if the configuration still references the Berkeley DB (hash) lookup tables.

Running commands such as newaliases or postalias may result in errors like:

   # newaliases
   postalias: warning: unsupported dictionary type: hash. Is the postfix-hash package installed?
   postalias: fatal: unsupported map type: hash

Environment

  • Red Hat Enterprise Linux 10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content