Zentyal Forum, Linux Small Business Server

Zentyal Server => Email and Groupware => Topic started by: cssricky2@mweb.co.za on February 01, 2016, 12:25:14 pm

Title: The connection to the server was interrupted
Post by: cssricky2@mweb.co.za on February 01, 2016, 12:25:14 pm
Hi Pls help
Imap works fine but the moment I want to use pop3 to downalod mail form Zentyal I get the following message

Task 'resbackup@olivers.co.za (2) - Receiving' reported error (0x800CCC0F) : 'The connection to the server was interrupted. If this problem continues, contact your server administrator or Internet service provider (ISP).'

If I do a test from outlook it connects and login to the account, but when you try to download the above message comes up.
Title: Re: The connection to the server was interrupted
Post by: trysomething on February 01, 2016, 09:33:45 pm
open up a terminal and cd into /var/log

Look at all of the millions of log entries there... 

You should also check to make sure the ports for POP and POPS are opened on your firewall.  Also go into the web GUI and in Mail>General make sure the POP connections are enabled.

Finally I'd suggest just going into Mail>Openchange and downloading the CA Cert. then installing it  on the PC with Outlook  under the Trusted Root CA container.

Also keep in mind that when authenticating via POP and IMAP you're supposed to use the whole email address as opposed to using MAPI and only username.
So john.doe@zentyal.org would use john.doe for MAPI authentication and john.doe@zentyal.org for IMAP/POP auth.
Title: Re: The connection to the server was interrupted
Post by: cssricky2@mweb.co.za on February 02, 2016, 08:55:30 am
Ok When looking at the logs what I am actually looking for.

When authenticationg via pop, in outlook the username is just Joe it test fine but if its joe@company.com it rejects the login. I am definatly using pop3.
Pop connectors are enable in mail>general

Firewalls have been trippled checked.
pop3 uses port 110 or 995

Not sure about mail>openchange
Title: Re: The connection to the server was interrupted
Post by: trysomething on February 02, 2016, 06:59:56 pm
Are you trying this from inside the LAN or outside of the LAN?  Do you have your external DNS setup correctly?  Do you have your TLD/FQDN set in Zentyal DNS?
Quick crash course in Zentyal.  The DNS is meant for local (internal DNS) and not for outside world DNS, so adding your domain into Zentyal DNS is quite a disservice actually.  All of your outside world DNS needs to be setup in your outside DNS, so go to wherever your can configure your DNS records and setup the following entries to point to your DNS record:
yourdomain.com (kind of a duh I know)
hostname.yourdomain.com (in the Zentyal Web Admin GUI is says "Hostname" and your hostname next to it - again kind of a duh but I'm covering all of the bases here)
Autodiscover.yourdomain.com (notice it's "A" and not "a" - muy importante amigo)

It's going to take some time to provision through the DNS of the world, but once that's all set make sure your Zentyal firewall allows the following ports:
HTTP  -  80
HTTPS -  443
MAPI  -  135

After a couple of hours you "should" be able to open Outlook and use the screen where you just type in your name, email address and passwords and between Outlook and the server you'll get a MAPI connection that just works automatically.  This is of course if you don't have your TLD inside Zentyal DNS.
Using MAPI everything syncs across all of your devices, mail, contacts, calendars and it's just way better in my little world.
Hope this helps