我在我的服务器上安装了Postfix,并将其configuration为像在运行的Ubuntu机器上一样。
我添加了一个地图重写发件人地址(我必须这样做,因为我使用mailjet.com作为出站邮件服务器)到main.cf
smtp_generic_maps=texthash:/etc/postfix/generic
通用文件如下所示
root@physical1 [email protected]
当我重新启动后缀我得到以下错误消息在系统日志
Jan 12 23:51:04 physical1 postfix/smtp[26902]: fatal: dict_open: unsupported dictionary type: texthash: Is the postfix-texthash package installed?
有没有人知道为什么发生这种情况? 我search是否有一个后缀文本包,但我还没有find一个
更新
postconf -m btree cidr environ hash internal nis proxy regexp sdbm static tcp unix
后缀版本:2.7.1-1 + squeeze1
您正在运行Postfix 2.7版本。 在Postfix 2.8中引入了postscreen和新的postscreen服务器: http : //www.postfix.org/POSTSCREEN_README.html 。
正如SvenW所build议的那样,您最好使用hash:并在文件上运行postmap。
尝试
smtp_generic_maps=hash:/etc/postfix/generic
并在重新启动postfix之前发出命令postmap /etc/postfix/generic来生成哈希文件。