1

Topic: Problem with roundcube when TLS in postfix is turned on

==== Provide required information ====
- iRedMail 0.1.8 and backend LDAP
- Linux CentOS 6.2
====
Hello!

I tried to send mail via roundcube and got following error:
SMTP Error (250): Authentication failed.

In /var/log/maillog following:
Aug  2 22:26:59 mail postfix/smtpd[1905]: connect from mail.domain1.ru[127.0.0.1]
Aug  2 22:26:59 mail roundcube: SMTP server does not support authentication ():
Aug  2 22:26:59 mail postfix/smtpd[1905]: disconnect from mail.domain1.ru[127.0.0.1]
Aug  2 22:26:59 mail roundcube: SMTP Error: SMTP error: Authentication failure: SMTP server does not support authentication (Code: ) in /var/www/roundcubemail-0.7.2/program/include/main.inc on line 1747 (POST /mail/?_unlock=loading1343931997491&_lang=undefined?_task=mail&_action=send)

In postfix main.cf following:
....
smtpd_tls_security_level = may
smtpd_tls_auth_only = yes
smtpd_enforce_tls = no
....

Could you help with this problem?
Thanks a lot.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Problem with roundcube when TLS in postfix is turned on

tikonur wrote:

smtpd_tls_auth_only = yes

iRedMail doesn't enable this by default.

You should update smtp server address in Roundcube in config/main.inc.php like this:

$rcmail_config['default_host'] = 'tls://127.0.0.1';

Retsarting Apache web server is required to force Roundcube load new config.

3

Re: Problem with roundcube when TLS in postfix is turned on

I configured following parameters in config/main.inc.php

$rcmail_config['smtp_server'] = "tls://127.0.0.1";
$rcmail_config['smtp_port'] = 587;

and all is worked. Restarting Apache is not required in this case. Thanks a lot.