Roundcube,Postfix和SMTP身份validation(CRAM-MD5)错误

我无法在Postfix上configurationSMTPauthentication的Roundcube。 所有的凭据都是真实的,因为我使用Thunderbird和我的手机电子邮件客户端的电子邮件没有问题。 以下是Roundcube的SMTPconfiguration:

$rcmail_config['smtp_server'] = 'tls://mx.cyssea.com'; $rcmail_config['smtp_port'] = 587; $rcmail_config['smtp_user'] = '%u'; $rcmail_config['smtp_pass'] = '%p'; $rcmail_config['smtp_auth_type'] = ''; $rcmail_config['smtp_auth_cid'] = null; $rcmail_config['smtp_auth_pw'] = null; $rcmail_config['smtp_helo_host'] = ''; $rcmail_config['smtp_timeout'] = 0; 

当我尝试从roundcube发送电子邮件时,出现以下错误:

 [12-Jul-2012 16:33:35 +0300]: SMTP Error: SMTP error: Authentication failure: No supported authentication methods (Code: ) in /usr/share/roundcube/program/include/main.inc on line 1745 (POST /roundcube/?_unlock=loading1342100016360&_lang=en?_task=mail&_action=send) 

即使安装了用于PHP的SASLauthentication模块。

邮件服务器和Roundcube之间的通信如下所示:

 [12-Jul-2012 20:00:47 +0300]: Recv: 220 mx.cyssea.com ESMTP Postfix (Ubuntu) [12-Jul-2012 20:00:47 +0300]: Send: EHLO 192.168.12.18 [12-Jul-2012 20:00:47 +0300]: Recv: 250-mx.cyssea.com [12-Jul-2012 20:00:47 +0300]: Recv: 250-PIPELINING [12-Jul-2012 20:00:47 +0300]: Recv: 250-SIZE 10240000 [12-Jul-2012 20:00:47 +0300]: Recv: 250-ETRN [12-Jul-2012 20:00:47 +0300]: Recv: 250-STARTTLS [12-Jul-2012 20:00:47 +0300]: Recv: 250-AUTH CRAM-MD5 [12-Jul-2012 20:00:47 +0300]: Recv: 250-ENHANCEDSTATUSCODES [12-Jul-2012 20:00:47 +0300]: Recv: 250-8BITMIME [12-Jul-2012 20:00:47 +0300]: Recv: 250 DSN [12-Jul-2012 20:00:47 +0300]: Send: STARTTLS [12-Jul-2012 20:00:47 +0300]: Recv: 220 2.0.0 Ready to start TLS [12-Jul-2012 20:00:47 +0300]: Send: EHLO 192.168.12.18 [12-Jul-2012 20:00:47 +0300]: Recv: 250-mx.cyssea.com [12-Jul-2012 20:00:47 +0300]: Recv: 250-PIPELINING [12-Jul-2012 20:00:47 +0300]: Recv: 250-SIZE 10240000 [12-Jul-2012 20:00:47 +0300]: Recv: 250-ETRN [12-Jul-2012 20:00:47 +0300]: Recv: 250-AUTH CRAM-MD5 [12-Jul-2012 20:00:47 +0300]: Recv: 250-ENHANCEDSTATUSCODES [12-Jul-2012 20:00:47 +0300]: Recv: 250-8BITMIME [12-Jul-2012 20:00:47 +0300]: Recv: 250 DSN [12-Jul-2012 20:00:47 +0300]: Send: RSET [12-Jul-2012 20:00:47 +0300]: Recv: 250 2.0.0 Ok [12-Jul-2012 20:00:47 +0300]: Send: QUIT [12-Jul-2012 20:00:47 +0300]: Recv: 221 2.0.0 Bye 

我无法在Google上使用SMTP身份validationfind有关此类错误的任何信息。 有谁知道这种奇怪的行为是什么原因?

看起来您的Roundcube安装不支持CRAM-MD5,这是Postfix提供的唯一机制。 我可能只是启用普通和login机制,并使用这些。 你可能在/etc/postfix/main.cf有这样的一行:

 smtpd_sasl_security_options = noanonymous, noplaintext 

将其更改为:

 smtpd_sasl_security_options = noanonymous