• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Couldn't open connection to server - IMAP - Samsung Android Mail

avlza

New Pleskian
I am trying to setup my email hosted on Plesk via VULTR on my Android Phone and I get the error Couldn't open connection to server.

I did a manual setup with the following settings :

Mail server username : My Email Address
Incoming mail server : My Domain Address (example.com)
Outgoing mail server : My Domain Address (example.com) (server requires authentication)

IMAP securely over SSL/TLS : port 993.
SMTP : port 465.

But still, no-go.


I tried following this article, still I get the same error.
 
Make sure that ports 993 (IMAP) and 465 (SMTP) is listening on your Plesk server, not firewalled and accessible from your Android phone.
 
Make sure that ports 993 (IMAP) and 465 (SMTP) is listening on your Plesk server, not firewalled and accessible from your Android phone.
Thanks for your advice, but how do I check the if the ports are listening to my server?
 
Some e-mail applications have difficulties with proper authentication with DIGEST-MD5, e.g. Android Mail App. What they do is to always first try DIGEST-MD5 als encryption algorithm, which fails because what the server returns cannot be interpreted by the phone correctly and what the phone sends cannot be understood by the server correctly (for unknown reason). This causes two auth failure entries in the maillog file. When you have Fail2Ban enabled, these two auth failures trigger the jail so that the IP address that the phone is using will be blocked. This again leads to your symptom that your phone cannot connect to the server.

For that reason, remove this mechanism from Dovecot. The apps will then automatically use another mechanism.

# vi /etc/dovecot/conf.d/00-auth_mechs.conf
Code:
auth_mechanisms = plain login cram-md5 apop

# vi /etc/dovecot/dovecot.conf
and remove “digest-md5” from auth_mechanisms line.

Then restart Dovecot
# service dovecot restart

Then unblock the IP address of your phone (go to a website like whatismyipaddress.com on your phone, read the IPv4/IPv6 address and unblock it in Plesk Fail2Ban.
 
Back
Top