Connect looses the mail connection to the outer world [message #127240] |
Tue, 19 January 2016 00:56  |
 |
MGyHardSoft
Messages: 31 Registered: July 2013 Location: Budapest
|
|
|
|
There is a strange thing happens since a month or two. After a while Connect cannot be contacted to from the external network for SMTP, Outlook or Web Client (HTTPS). What is really strange: if I VPN in to the local network, Web Client works perfectly from there.
1. I tried to restart the internal services of Connect. Does not help.
2. I tried to restart Connect service itself. Does not help.
3. What helps is to reboot the whole machine. "Fortunately" I can connect to the local network via (Kerio Control) VPN, and Web Admin works from there, so I can perform the reboot.
The fact that Connect heals by rebooting the machine indicates that there is no external factors in the problem (e.g. no firewall or DNS issue). I tried to find anything in the logs, even in the operating system's logs, without success. The machine is healthy, RAM usage is around 40 %, processor usage is around 5 %.
What is even more strange: I have two almost identical configuration which do the same:
- Kerio Control firewall 9.0.0 Virtual Appliance (VA)
- Kerio Connect 9.0.1 (394) running on Debian GNU/Linux 7.9 (Kerio VA), x86_64, with the latest operating system patches
- VMware ESXi 5.5U3 with the latest patch
- HP DL360p Gen8 server
The differences:
Server 1 uses VMware drivers, and the Connect runs as guest version 8, the other server uses HP drivers and the Connect runs as guest version 4. Server 1 had Connect 9 RC1 installed at some time, Server 2 was upgraded always to official versions, one-by-one.
Two days ago I have patched both ESXi-s and after the reboot I had to restart Server 2 again, then this morning again. Server 1 seem to work since then but the whole phenomenon is random, so it does not mean anything.
Both servers are running for years now with the latest HP patches. Two months ago everything was normal and unfortunately the errors cannot be connected to any specific change.
Have you got anything similar, or does anyone have a solution? What I thought is to make a backup, install fresh Connect and make a restore to that server, however, it is a lot of work and nothing assures that it will help.
Rgrds - Gyula
|
|
|
Re: Connect looses the mail connection to the outer world [message #127243 is a reply to message #127240] |
Tue, 19 January 2016 06:20   |
PastaPaul
Messages: 11 Registered: March 2015 Location: Melbourne Australia
|
|
|
|
MGyHardSoft wrote on Tue, 19 January 2016 10:56 After a while Connect cannot be contacted to from the external network for SMTP, Outlook or Web Client (HTTPS). What is really strange: if I VPN in to the local network, Web Client works perfectly from there.
If it's working on the VPN (and I assume then for systems on the LAN), then it's more likely related to DNS or something with Kerio Control.
To check if it's a DNS issue on the client, when the problem happens try to access the Kerio Connect webmail from the client browser using the IP address rather than the DNS name.
Paul
|
|
|
Re: Connect looses the mail connection to the outer world [message #127245 is a reply to message #127243] |
Tue, 19 January 2016 07:58   |
 |
MGyHardSoft
Messages: 31 Registered: July 2013 Location: Budapest
|
|
|
|
PastaPaul wrote on Tue, 19 January 2016 06:20If it's working on the VPN (and I assume then for systems on the LAN), then it's more likely related to DNS or something with Kerio Control.
But how can it be repaired with rebooting Control, which should have no effect on Control or DNS?
PastaPaul wrote on Tue, 19 January 2016 06:20To check if it's a DNS issue on the client, when the problem happens try to access the Kerio Connect webmail from the client browser using the IP address rather than the DNS name.
Unfortunately it is not feasible as the whole site is behind a single IP and the reverse proxy should know the name from the request to dispatch it to the right server. The reverse proxy in Control sends the incoming requests to the IP addresses of the servers.
Rgrds - Gyula
[Updated on: Tue, 19 January 2016 10:02] Report message to a moderator
|
|
|
|
|
Re: Connect looses the mail connection to the outer world [message #127274 is a reply to message #127263] |
Tue, 19 January 2016 22:29   |
 |
MGyHardSoft
Messages: 31 Registered: July 2013 Location: Budapest
|
|
|
|
UnifiedTechs-Brian wrote on Tue, 19 January 2016 19:08Have you tried restarting just the Control service instead of rebooting the whole machine? You have not ruled out an OS issue yet. You don't mention what OS it is installed on.
(Not saying it is not Connect causing the issue but this will confirm your belief)
Hi Brian, as I wrote in Point 1. and 2. I tried to restart first the internal Control services (SMTP, HTTPS, etc.), then the Kerio Control service (/etc/init.d/... restart) itself, but none of them helped, only the reboot of the whole Linux server.
The operating system (as it also written) is "Debian GNU/Linux 7.9 (Kerio VA), x86_64, with the latest operating system patches". "Kerio VA" means the official Kerio Virtual Appliance, it was installed from the OVF link of Kerio homepage, and I regularly run "apt-get update" and "apt-get upgrade" (maybe these cause the problem?).
Rgrds - Gyula
|
|
|
|
|
|
Re: Connect looses the mail connection to the outer world [message #127278 is a reply to message #127245] |
Wed, 20 January 2016 00:10   |
PastaPaul
Messages: 11 Registered: March 2015 Location: Melbourne Australia
|
|
|
|
MGyHardSoft wrote on Tue, 19 January 2016 17:58
But how can it be repaired with rebooting Control, which should have no effect on Control or DNS?
Agreed, unless the restart is forcing it to refresh something in the DNS? Can you confirm that users on the LAN always have access even when users on the outside network don't.
=MGyHardSoft wrote on Tue, 19 January 2016 17:58
Unfortunately it is not feasible as the whole site is behind a single IP and the reverse proxy should know the name from the request to dispatch it to the right server. The reverse proxy in Control sends the incoming requests to the IP addresses of the servers.
I'm not overly familiar with reverse proxy. My system uses a single IP and through Kerio Control I use NAT to reach the desired destination server. We already use port 443 for a webpage, so (after some good advice from Kerio) I setup a map to Kerio Connect using port 4043. To access the webmail we use https://xxx.xxx.xxx:4043/webmail
|
|
|
|
|
Re: Connect looses the mail connection to the outer world [message #127282 is a reply to message #127280] |
Wed, 20 January 2016 01:19   |
 |
MGyHardSoft
Messages: 31 Registered: July 2013 Location: Budapest
|
|
|
|
Brian Carmichael (Kerio) wrote on Wed, 20 January 2016 01:00I think you are mixing Kerio Control and Kerio Connect. If I understand, restarting the entire server for Kerio Connect fixes the issue (not restarting Kerio Control). In this case, the issue is probably related to some type of local networking issue.
Possible networking issues that match the symptoms you describe:
- IPv6 is inadvertently being favored somehow (and doesn't work).
- Your networking equipment is forgetting the port associated with your Kerio Connect system due to inactivity and it only gets refreshed when you reboot (because the Kerio Connect system sends an ARP update).
Note that the reverse proxy only supports HTTP(S) so while remote access doesn't work, it would be interesting to know if it affects other protocols like SMTP or IMAP.
I wish I could write that I just wanted to test your watchfulness, but unfortunately not. Yes, my sentence was referred to Connect, not to Control (I edited it to avoid confusion later).
Actually I tried also to restart Control and then reboot the whole firewall, but that really did not help.
Thank you for your advices, the next thing I will do is to switch off IPv6, it is not used anyway (yet).
My networking equipment is the VMware ESXi 5.5 switches. The whole thing including the firewall, the mail server, the webservers and others (e.g. MailStore Server) run on a single ESXi host and the machines are connected through the ESXi virtual switches. Connect itself has no direct connection to any of the network cards of the physical server.
Unfortunately in the error state the incoming SMTP is also blocked.
Rgrds - Gyula
[Updated on: Wed, 20 January 2016 01:56] Report message to a moderator
|
|
|
|
|