返回列表 回复 发帖
不顶不行呀!
有没有关于CYRUS_IMP的文档呀?
请问有Linux+Postfix+Cyrus-sasl+Cyrus-imap+Tmail3.0+spamassassin+Clamav+mailscanner文档吗?
支持哦。
请问各位前辈,为什么我的Postfix编译完了以后总是报错,说不支持MySQL呢?

日志如下:
Apr 22 13:53:58 CentOS postfix/smtpd[2354]: fatal: unsupported dictionary type: mysql
Apr 22 13:53:59 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/smtpd pid 2354 exit status 1
Apr 22 13:53:59 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 22 13:54:05 CentOS postfix/cleanup[2355]: fatal: unsupported dictionary type: mysql
Apr 22 13:54:06 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/cleanup pid 2355 exit status 1
Apr 22 13:54:06 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Apr 22 13:54:59 CentOS postfix/smtpd[2375]: fatal: unsupported dictionary type: mysql
Apr 22 13:55:00 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/smtpd pid 2375 exit status 1
Apr 22 13:55:00 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 22 13:55:06 CentOS postfix/cleanup[2376]: fatal: unsupported dictionary type: mysql
Apr 22 13:55:07 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/cleanup pid 2376 exit status 1
Apr 22 13:55:07 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Apr 22 13:56:00 CentOS postfix/smtpd[2377]: fatal: unsupported dictionary type: mysql
Apr 22 13:56:01 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/smtpd pid 2377 exit status 1
Apr 22 13:56:01 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 22 13:56:07 CentOS postfix/cleanup[2378]: fatal: unsupported dictionary type: mysql
Apr 22 13:56:08 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/cleanup pid 2378 exit status 1
Apr 22 13:56:08 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Apr 22 13:57:01 CentOS postfix/smtpd[2383]: fatal: unsupported dictionary type: mysql
Apr 22 13:57:02 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/smtpd pid 2383 exit status 1
Apr 22 13:57:02 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 22 13:57:08 CentOS postfix/cleanup[2384]: fatal: unsupported dictionary type: mysql
Apr 22 13:57:09 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/cleanup pid 2384 exit status 1
Apr 22 13:57:09 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Apr 22 13:58:02 CentOS postfix/smtpd[2390]: fatal: unsupported dictionary type: mysql
Apr 22 13:58:03 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/smtpd pid 2390 exit status 1
Apr 22 13:58:03 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 22 13:58:09 CentOS postfix/cleanup[2391]: fatal: unsupported dictionary type: mysql
Apr 22 13:58:10 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/cleanup pid 2391 exit status 1
Apr 22 13:58:10 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Apr 22 13:59:03 CentOS postfix/smtpd[2392]: fatal: unsupported dictionary type: mysql
Apr 22 13:59:04 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/smtpd pid 2392 exit status 1
Apr 22 13:59:04 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 22 13:59:10 CentOS postfix/cleanup[2393]: fatal: unsupported dictionary type: mysql
Apr 22 13:59:11 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/cleanup pid 2393 exit status 1
Apr 22 13:59:11 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Apr 22 14:00:04 CentOS postfix/smtpd[2401]: fatal: unsupported dictionary type: mysql
Apr 22 14:00:05 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/smtpd pid 2401 exit status 1
Apr 22 14:00:05 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 22 14:00:11 CentOS postfix/cleanup[2402]: fatal: unsupported dictionary type: mysql
Apr 22 14:00:12 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/cleanup pid 2402 exit status 1
Apr 22 14:00:12 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling
Apr 22 14:01:05 CentOS postfix/smtpd[2406]: fatal: unsupported dictionary type: mysql
Apr 22 14:01:06 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/smtpd pid 2406 exit status 1
Apr 22 14:01:06 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Apr 22 14:01:12 CentOS postfix/cleanup[2407]: fatal: unsupported dictionary type: mysql
Apr 22 14:01:13 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/cleanup pid 2407 exit status 1
Apr 22 14:01:13 CentOS postfix/master[1951]: warning: /usr/libexec/postfix/cleanup: bad command startup -- throttling

我是严格按照顶楼的帖子编译安装的,为什么报这个错啊?
引用第24楼yinsong2006-04-22 13:59发表的“”:
请问各位前辈,为什么我的Postfix编译完了以后总是报错,说不支持MySQL呢?

日志如下:
Apr 22 13:53:58 CentOS postfix/smtpd[2354]: fatal: unsupported dictionary type: mysql
Apr 22 13:53:59 CentOS postfix/master[1951]: warning: process /usr/libexec/postfix/smtpd pid 2354 exit status 1
.......
你看我给你回复的短信
郁闷,我连错误日志都不知道在那看?
几经周折 终于安装上去了
IMAP POP3都正常 Webmail也正常
可就是SASL验证通不过!

出现错误:
May  2 14:45:24 mail postfix/smtpd[24207]: warning: SASL authentication problem: unable to open Berkeley db /etc/sasldb2: Permission denied
May  2 14:45:24 mail postfix/smtpd[24207]: warning: ip-1-2-168-192.rev.xxxxxx.com[192.168.2.1]: SASL LOGIN authentication failed

说找不到 /etc/sasldb2     试着我就建一个:

#> cd /etc
#> saslpasswd2 -c test@test.com
#> Password: (enter your passwd)
#> Again (for verification): (enter your password)

这样就产生了/etc/sasldb2     验证通过了

好晕 这样的话SMTP不就是不能用到MySQL来检查密码了吗???

各位好心的大大帮帮忙 : (( (完全照杨大大的配置来做的)
[s:6] [p:4]
引用第27楼speech2006-05-02 14:59发表的“”:
几经周折 终于安装上去了
IMAP POP3都正常 Webmail也正常
可就是SASL验证通不过!

出现错误:
.......
检查一下你的smtpd.conf文件在不在.
终于解决了!真的是SMTP.CONF作怪!!!

晕倒啊~~~ 这几天一个模块一个模块地重装 最后才发现问题在系统版本

我的x86_64的Centos Linux,cyrus-sasl-2.1.19-5.EL4是x86_64版,smtpd.conf应该放在/usr/lib64/sasl2/ 而不是/usr/lib/sasl2/

(另外 postfix 编译时 make -f Makefile.init makefiles 那步的“AUXLIBS=-L/usr/lib/mysql”在mysql x86_64版下也应该是“AUXLIBS=-L/usr/lib64/mysql”)


谢谢Jacky!!!!
返回列表
开源邮件服务器 开源邮件服务器 web 开源邮件 开源 mail 开源 邮件服务器 邮件技术 mail技术 反垃圾邮件 反垃圾mail mail投递
邮件服务器 mail服务器 开源软件 mail软件 mail服务新品牌 开源邮件服务新品牌
开源mail服务新网站 邮件服务新品牌 mail tmail mailserver 163邮件 sendmail |Linux维护|Linux代维|成都Linux维护|成都Linux代维