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>
On Fri, Jun 12, 2015 at 02:11:21PM +0100, Darac Marjal wrote:> On Fri, Jun 12, 2015 at 03:01:17PM +0200, Daniel Tr?der wrote: > > Am 12.06.2015 um 13:37 schrieb 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.This was meant as a simple check to see if the service was running/firewalled. Not a full login routine. B
On Fri, Jun 12, 2015 at 03:24:32PM +0200, Martin S wrote:> I get > > openssl s_client -connect mail.myserver.tld:993 > connect: Connection refused > connect:errno=111 > > Both from a client laptop and on the roundcube server. > Both roundcube and dovecot are installed on the same server.That should give you a good idea about what's wrong with your setup. http://lmgtfy.com/?q=dovecot+ssl+setup# B