I had the same issue. And just recently resolved it. I have tried to connect mutt to the davmail and in mutt configuration file just placed the same lines as was in configuration for gmail and I didn't noticed that they should be different.
So, one of the line was: set folder = "imaps://localhost:1143" # I just changed imap.gmail.com:993 to localhost:1143 But it is wrong. Instead of imaps should be imap (without 's' in the end!) Good luck! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/105736 Title: mutt - TLS packet with unexpected length To manage notifications about this bug go to: https://bugs.launchpad.net/gnutls/+bug/105736/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs