Ahaaa, I've found out what caused the problem in my case. My muttrc contained a non-existent mailbox in my list of mailboxes. Removing this resolved the problem, i.e. the jsp mailbox in the example below no longer existed:
# Line that was failing mailboxes +INBOX +"Junk-Email" +jsp # Line that now works okay mailboxes +INBOX +"Junk-Email" -- mutt - TLS packet with unexpected length https://bugs.launchpad.net/bugs/105736 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs