即时通讯尝试使用postgres与Postgres创build一个虚拟用户邮箱。 我得到以下错误:
fatal: unsupported dictionary type: pgsql warning: process /usr/libexec/postfix/smtpd pid 22827 exit status 1 warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
有没有额外的回购提供postgres支持?
谢谢
我在Centos 7上遇到了同样的问题。我需要用适当的标志重新编译Postfix,这是怎么做的: http : //blog.solusipse.net/posts/compiling-postfix-with-postgresql-support-on-centos- 7 /
一步步
下载并提取后缀
wget ftp://ftp.its.cz/MIRRORS/ftp.porcupine.org/mirrors/postfix-release/official/postfix-2.11.3.tar.gz && tar xvf postfix-2.11.3.tar.gz
准备脚本。
echo“make makefiles CCARGS =' – DHAS_PGSQL -I / usr / local / include / pgsql -fPIC -DUSE_TLS -DUSE_SSL -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DPREFIX = \”/ usr \“-DHAS_LDAP -DLDAP_DEPRECATED = 1 -DHAS_PCRE -I / usr / include / openssl -I / usr / include / sasl -I / usr / include'AUXLIBS =' – L / usr / local / lib -lpq -L / usr / lib64 -L / usr / lib64 / openssl -lssl -lcrypto -L / usr / lib64 / sasl2 -lsasl2 -lpcre -lz -lm -lldap -llber -Wl -rpath / usr / lib64 / openssl -pie -Wl,-z,relro'OPT =' – O'DEBUG = '-g'“> build-postfix.sh && chmod a + x build-postfix.sh
安装所有的依赖关系,但首先你需要启用CentOS Plus存储库。
yum install libdb libdb-devel gcc openssl openssl-devel pcre pcre-devel openldap-devel cyrus-sasl cyrus-sasl-devel openldap postgresql postgresql-devel
执行它
./build-postfix.sh