Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Postfix on my server and configured it like i have it on an ubuntu machine running.

I added a map to rewrite the sender address (which i have to do because i use as outbound mailserver) to the


the generic file looks like following


When i restart postfix i get following error message in the syslog

Jan 12 23:51:04 physical1 postfix/smtp[26902]: fatal: dict_open: 
unsupported dictionary type: texthash:  Is the postfix-texthash package installed?

Has anyone a clue why this is happening? I searched if there's a postfix-texthash package but i've not found one


postconf -m

Postfix Version : 2.7.1-1+squeeze1

share|improve this question
Please update with the output of postconf -m. – James O'Gorman Jan 12 '12 at 23:08
And it would be very useful to know the Postfix version and the distribution name/version. – mailq Jan 12 '12 at 23:43
up vote 3 down vote accepted

You are running Postfix version 2.7. texthash was introduced in Postfix 2.8 with the new postscreen server:

You're best off just using hash: and running postmap on the file, as SvenW suggests.

share|improve this answer



and issue the command postmap /etc/postfix/generic before restarting postfix in order to generate the hash file.

share|improve this answer
This is a workaround to get an equivalent solution. But it is not the exact solution to the question. – mailq Jan 12 '12 at 23:41
@mailq: Yes, but lacking any further information about the OPs system, it's the only solution that's likely available without further work, and while it doesn't really matter for such a short map file, I consider using a hashed one the better solution anyway. – Sven Jan 12 '12 at 23:48
That's true and would be my choice, too. – mailq Jan 12 '12 at 23:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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