I've installed a mailserver according to these instructions: http://www.server-world.info/en/note?os=CentOS_7&p=httpd&f=13 When I try to login to the server through Roundcube webmail I get Connection to storage server failed. So checking on this [12-Jun-2015 11:28:53 +0000]: <6jap13r2> IMAP Error: Login failed for martin from 83.251.209.249. Could not connect to ssl://myserver:993: Permission denied in /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line 198 (POST /roundcubemail/?.... /etc/roundcubemail/config.inc.php Has the following: $config['default_host'] = 'ssl://mail.myserver.tld'; [address obfuscated] $config['default_port'] = 993; as I understand should be correct. I've been looking at various posts on the net that says the problem is a permission on dovecot, but I fail to find anything to how to fix this as it looks right to me. Any suggestions? /Martin S -- Regards, Martin S
On Fri, Jun 12, 2015 at 01:37:19PM +0200, Martin S wrote:> I've installed a mailserver according to these instructions: > http://www.server-world.info/en/note?os=CentOS_7&p=httpd&f=13 > When I try to login to the server through Roundcube webmail I get > Connection to storage server failed. > > So checking on this > > [12-Jun-2015 11:28:53 +0000]: <6jap13r2> IMAP Error: Login failed for > martin from 83.251.209.249. Could not connect to ssl://myserver:993: > Permission denied in > /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line > 198 (POST /roundcubemail/?.... > > /etc/roundcubemail/config.inc.php > > Has the following: > $config['default_host'] = 'ssl://mail.myserver.tld'; [address obfuscated] > $config['default_port'] = 993; > > as I understand should be correct. > > I've been looking at various posts on the net that says the problem is > a permission on dovecot, but I fail to find anything to how to fix > this as it looks right to me. > > Any suggestions?What do the dovecot logs say? Can you connect from the roundcube system (via nc/telnet) to mail.myserver.tld port 993? Did you use the right roundcube settings for IMAP login? $rcmail_config['imap_auth_type'] Is your certificate valid? B
Am 12.06.2015 um 13:37 schrieb Martin S:> I've installed a mailserver according to these instructions: > http://www.server-world.info/en/note?os=CentOS_7&p=httpd&f=13 > When I try to login to the server through Roundcube webmail I get > Connection to storage server failed. > > So checking on this > > [12-Jun-2015 11:28:53 +0000]: <6jap13r2> IMAP Error: Login failed for > martin from 83.251.209.249. Could not connect to ssl://myserver:993: > Permission denied in > /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line > 198 (POST /roundcubemail/?.... > > /etc/roundcubemail/config.inc.php > > Has the following: > $config['default_host'] = 'ssl://mail.myserver.tld'; [address obfuscated] > $config['default_port'] = 993; > > as I understand should be correct. > > I've been looking at various posts on the net that says the problem is > a permission on dovecot, but I fail to find anything to how to fix > this as it looks right to me. > > Any suggestions? > > /Martin S >* Test to connect to the IMAP server with telnet first: # telnet mail.myserver.tld 993 If you cannot connect there is a network/firewall problem. If you can connect ? * Switch on all logging options in /etc/dovecot/conf.d/10.-logging.conf and follow the logfiles while trying with thunderbird/fetchmail/roundcube. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150612/b2e684fd/attachment.sig>
On Fri, Jun 12, 2015 at 03:01:17PM +0200, Daniel Tr?der wrote:> Am 12.06.2015 um 13:37 schrieb Martin S: > > I've installed a mailserver according to these instructions: > > http://www.server-world.info/en/note?os=CentOS_7&p=httpd&f=13 > > When I try to login to the server through Roundcube webmail I get > > Connection to storage server failed. > > > > So checking on this > > > > [12-Jun-2015 11:28:53 +0000]: <6jap13r2> IMAP Error: Login failed for > > martin from 83.251.209.249. Could not connect to ssl://myserver:993: > > Permission denied in > > /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on line > > 198 (POST /roundcubemail/?.... > > > > /etc/roundcubemail/config.inc.php > > > > Has the following: > > $config['default_host'] = 'ssl://mail.myserver.tld'; [address obfuscated] > > $config['default_port'] = 993; > > > > as I understand should be correct. > > > > I've been looking at various posts on the net that says the problem is > > a permission on dovecot, but I fail to find anything to how to fix > > this as it looks right to me. > > > > Any suggestions? > > > > /Martin S > > > * Test to connect to the IMAP server with telnet first: > # telnet mail.myserver.tld 993 > If you cannot connect there is a network/firewall problem.That won't work, as port 993 is IMAPS. "openssl s_client -connect mail.myserver.tld:993" should be considered an equivalent command.> > If you can connect ? > * Switch on all logging options in /etc/dovecot/conf.d/10.-logging.conf > and follow the logfiles while trying with thunderbird/fetchmail/roundcube. >-- For more information, please reread. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 801 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150612/38d0a758/attachment.sig>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 12-06-15 13:37, Martin S wrote:> I've installed a mailserver according to these instructions: > http://www.server-world.info/en/note?os=CentOS_7&p=httpd&f=13 When > I try to login to the server through Roundcube webmail I get > Connection to storage server failed. > > So checking on this > > [12-Jun-2015 11:28:53 +0000]: <6jap13r2> IMAP Error: Login failed > for martin from 83.251.209.249. Could not connect to > ssl://myserver:993: Permission denied in > /usr/share/roundcubemail/program/lib/Roundcube/rcube_imap.php on > line 198 (POST /roundcubemail/?.... >If this actually is Centos 7, selinux may also be the culprit. Keep an eye on audit logging when testing too.> /etc/roundcubemail/config.inc.php > > Has the following: $config['default_host'] > 'ssl://mail.myserver.tld'; [address obfuscated] > $config['default_port'] = 993; > > as I understand should be correct. > > I've been looking at various posts on the net that says the problem > is a permission on dovecot, but I fail to find anything to how to > fix this as it looks right to me. > > Any suggestions? > > /Martin S >-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVfcC2AAoJEJPfMZ19VO/1dIgP/iSaRHDt/lPaEh0YG1m/gj5k a6PGbXR+3XM+8KPBw6bLqYFleGEDNVv0D3fbdBeJ5NvDQ1fxFx8xyHsFk4iY8PAK 1xU0A3h3BgnPzTvNT51mlC8eOel7gCZZZcDXFzPEVQ02v61ypTLmcxdc3ThH7A2X luqfLvTCKt4FY5T5vsc/zBSbzvBgl9T+9oqL2Ei3s5qL5PrFAx74lyzFW+HDbEP1 0/yIsJvb36n3Yyj07+6pXqhhCbQDy6ZBYSOPJ7rX+uoD/AMCoTi8iIEprnDa77RN RU1K5bO0sj4AGbIR0cPPbbxaLTtlvfXnH8G5G8Ur/6XRUY6rtytTVjR4P/7jGVlV TDOToF2ju9YIn5lEdEw8Wck8J1SDgDbnkOxPazikxH3h9zs4tejlQjzePnmmywZf EmpYFsYNuCDdoAJWD6hNXD61MgQRNBZKIU42VcjJ/LiwMMRHc5uEVNBdCOupQRJ3 YVSSzydO7wN4yqly7OI4PqtCgRtqMp8JqPhlxS8Ks29Gqr1CXMMG20WLB1t0SaIe CPzcJMH+UYFgg0vNQcozCB8NrmgPwcJpwdFRki35bZvVhcAkZBfE48bBsmv9cmbH cXt3lV6mvC3oloiGTclvpRESgLN5h2vPtRNNO/Kfsj4SRt5RBfjSt/SlhWAEBkFv VfrOxi3oku4vtic7gnoH =z2oM -----END PGP SIGNATURE-----