Overview
While facing email sending and receiving issues on PCs connected to Kerio Control network, it is necessary to identify the problem in a proper way. Email services usually include IMAP, POP3, and SMTP protocols. As these email protocols require client-server communication, the email clients such as Outlook, Apple Mail, Windows Mail are needed to set up the connection.
This article provides troubleshooting best-practices and common techniques to identify potential issues related to firewall misconfiguration.
Important: If the email server is hosted inside the local network (behind Kerio Control), specific traffic rules need to be applied. As an example, please refer to Configuring Kerio Control Firewall to Allow Kerio Connect Services.
Information
- Connection Limits on Kerio Control side.
- In Warning logs, you may notice the following line:
Connection limit per minute for source address '192.168.5.139' reached (limit: 1200)
- It is possible to add an exception to your connection limits rule and add the internal IP address to this exception through an IP address group.
- In Warning logs, you may notice the following line:
- The number of connections on the mail server and the client-side.
- Modern mail servers have built-in SMTP security settings for protecting users based on IP address limits. Kerio Connect example:
- Some email clients allow modifying server connection limits. Thunderbird example:
- Modern mail servers have built-in SMTP security settings for protecting users based on IP address limits. Kerio Connect example:
- Missing or weak security of email domain.
- Make sure to check your mail server settings using MXtoolbox domain health or other tools.
- Configure SPF, DMARC, PTR records to ensure mail server protection is met. Kerio Connect reference guides:
- Make sure to check your mail server settings using MXtoolbox domain health or other tools.
- Wrong ports being used by the email client.
- Port scanning by external applications or websites is in place. Kerio Control will report the following in Security logs:
IPS: Port Scan, protocol: TCP, source: 192.147.x.x, destination: 192.168.10.2, ports: 53781, 54554, 54308, 59450,56125, 54080, 54107, 54384, 55226, 54249, ...
- Check the PC health with external Antivirus software (Kaspersky, ESET, etc).
- Port scanning by external applications or websites is in place. Kerio Control will report the following in Security logs:
-
Gather packet dump for the email client hosts and if hosted inside Control network, mail server host.
Click Start and after try to fetch or send emails.
After a few megabytes, press Stop and Download.
Review the packet capture. - Check the connection from Kerio Control SSH for the required port (IMAP, SMTP) using the Telnet tool.
Tip: connection refused usually means the port (IMAP 143) is closed and you need to use a secure port (993).
Priyanka Bhotika
Comments