主题: roundcubemail无法发送邮件
是这样的,我没有使用iredmail,因为我想了解下iredmail具体的结构,所以我搭建了和iredmail一样的架构
centos5.5+postfix+saslauthd认真+dovecot+mysql+roundcubemail
整个框架安装以后,我在windows系统上设置了host文件
www.rain.com 192.168.88.12
pop3.rain.com 192.168.88.12
smtp.rain.com 192.168.88.12
这样我在windows系统上使用foxmail,就能实现登入并且能收发邮件,这说明我的邮件服务器没有问题,搭建成功!
然后我在服务器上安装了roundcubemail,安装也成功了,并且能登入进去,但是却发送不了邮件,一点击发送就是长时间的等待,一直一直下去,强行关闭页面,查看下收件箱没有收到。
这是roundcubemail下logs/的日志文件
[13-Aug-2010 16:22:27] MDB2 Error: not found (-4): [Error message: Unable to bind to missing placeholder: 1]
[13-Aug-2010 16:22:27] MDB2 Error: unknown error (-1): execute: [Error message: Binding Values failed with message: MDB2 Error: not found]
[Last executed query: PREPARE MDB2_STATEMENT_mysql_327f3de3d3023937987535794eb0241a FROM 'SELECT * FROM contacts AS c WHERE c.del<>1 AND c.user_id=? AND ((`email` LIKE \'%rain@%\' OR `name` LIKE \'%rain@%\') AND `email` <> \'\') ORDER BY c.name LIMIT 0, 15']
[Native code: 0]
[13-Aug-2010 16:22:27 +0800]: DB Error: MDB2 Error: unknown error Query: execute: [Error message: Binding Values failed with message: MDB2 Error: not found] [Last executed query: PREPARE MDB2_STATEMENT_mysql_327f3de3d3023937987535794eb0241a FROM 'SELECT * FROM contacts AS c WHERE c.del<>1 AND c.user_id=? AND ((`email` LIKE \'%rain@%\' OR `name` LIKE \'%rain@%\') AND `email` <> \'\') ORDER BY c.name LIMIT 0, 15'] [Native code: 0] in /var/www/html/program/include/rcube_mdb2.php on line 644 (POST /?_task=mail&_action=autocomplete?_task=&_action=)
[13-Aug-2010 16:22:33] PHP Warning: include(Mail/mime.php) [<a href='function.include'>function.include</a>]: failed to open stream: 没有那个文件或目录 in /var/www/html/program/include/iniset.php on line 104
[13-Aug-2010 16:22:33] PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'Mail/mime.php' for inclusion (include_path='/var/www/html/:/var/www/html/program:/var/www/html/program/lib:/var/www/html/program/include:.:/usr/share/pear:/usr/share/php') in /var/www/html/program/include/iniset.php on line 104
[13-Aug-2010 16:22:33] PHP Fatal error: Class 'Mail_mime' not found in /var/www/html/program/steps/mail/sendmail.inc on line 410
各位大虾帮帮忙,这到底是哪里出问题了?
hostname:rain.com
centos上面的/etc/resolv.conf 的设置为
nameserver xxx.xxx.xxx.xxx 电信 dns 的ip
/etc/host文件设置了
127.0.0.1 rain.com localhost
跪求啊!!