1

Topic: Connection problem roudncube

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version: centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? iredadmin
- Related log if you're reporting an issue:
can't login into mail with roundcube also can not with outlook
can receive mail but can send email.

error log

Sep  7 23:16:27 myserver roundcube: <h60vr2r1> IMAP Error: Login failed for me@mydomain.net from 123.123.123.179. Unable to send command: A0002 LOGIN me@mydomain.net mypassword in /var/www/roundcubemail-1.1.4/program/lib/Roundcube/rcube_imap.php on line 197 (POST /mail/?_task=login?_task=login&_action=login)
====

----

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

2

Re: Connection problem roudncube

Blisk wrote:

Unable to send command: A0002 LOGIN me@mydomain.net mypassword

Please turn on debug mode in Roundcube by appending below setting in /var/www/roundcubemail/config/config.inc.php:

$config['imap_debug'] = true;

Then try to send email again. Show us FULL log in /var/log/maillog related to email sending.

3

Re: Connection problem roudncube

I have installed from scratch again Iredmail.
First problem I have is to access to iredadmin, it doesn't allow me to acces it until I delete welcome.conf in apache.
Second problem is I can send mails from outlook it says
None of the authentication methods supported by this client are supported by your server

but I can send emails from roundcubemail

4

Re: Connection problem roudncube

this is what I have in mail log

CONNECT from xxxxxxx to xxxxxxxx
PASS OLD xxxxxxxx
connect from xxxxxxxxx
Anonymous TLS connection established from xxxxxxx TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
lost connection after EHLO from xxxxxxxxx
disconnect from  xxxxxxxxxxx

5

Re: Connection problem roudncube

I solved this by myself.
I have commentede out this in postfix main.cf so now it is enabled and sending emails work.

smtpd_sasl_auth_enable = yes
smtpd_tls_auth_only = yes
smtpd_sasl_security_options = noanonymous