正如标题所暗示的,每当我尝试运行newaliases时,我都会遇到这个错误。 首先是一点解释。 我试图从我的debian服务器上升级到jessie,几乎所有的软件包都升级了,减去了postfix和postfix-mysql 。 另外,在升级mysql被replace为mariadb。 我不确定这是否有问题,但是每当我尝试重新运行升级以重新configurationpostfix包时,我都会得到以下结果:
Setting up postfix (3.1.4-7) ... Postfix (main.cf) configuration was not changed. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run 'service postfix reload'. Running newaliases postalias: fatal: unsupported dictionary type: mysql does not support bulk-mode creation. dpkg: error processing package postfix (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of postfix-mysql: postfix-mysql depends on postfix (= 3.1.4-7); however: Package postfix is not configured yet. dpkg: error processing package postfix-mysql (--configure): dependency problems - leaving unconfigured
我不确定是什么原因引起的问题,我不能重新启动,直到软件包解决由于系统当前的其他不相关的原因。
我有完全相同的问题,并解决了这样的问题:
alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf ) service postfix reload考虑到它