Normally, on my laptop, Kmail can access my email from the 1and1 IMAP server (imap.1and1.com) easily. Today, Kmail 5.4.3 (Kubuntu 17.04) shows "server is not available" The gmail imap server is available. My android smart phone can access pop.1and1.com.
Kmail can send mail via smtp.1and1.com Kmail can receive mail via pop.1and1.com
ufw (uncomplicated firewall) is inactive
What strategy can I use for looking for the source of this problem?
71 Answer
1and1's imap server is down. I verified this by telnet and pinging on the smtp, pop and imap servers:
telnet pop.1and1.com 110 returned a response
telnet imap.1and1.com 993 returned "connection timed out"
telnet smtp.1and1.com 587 returned a response
ping pop.1and1.com works
ping imap.1and1.com times out
ping smtp.1and1.com works
This was a confusing problem initially because I could also not access webmail although someone else could. I corrected the url to access webmail. I set up a Kmail account with pop and so verified Kmail with pop was working. So that left me with just Kmail not being able to access the imap server.