When trying to connect to an imaps server with a 5 digit port, mutt complaints as being an invalid IMAP path. Reproducible: Always Steps to Reproduce: $ mutt -f imaps://localhost.localdomain:52003 imaps://localhost.localdomain:52003 is an invalid IMAP path $ mutt -f imaps://localhost.localdomain:520039 imaps://localhost.localdomain:520039 is an invalid IMAP path Expected Results: $ mutt -f imaps://localhost.localdomain:52003 Could not connect to localhost.localdomain (Connection refused). $ mutt -f imaps://localhost.localdomain:520039 imaps://localhost.localdomain:520039 is an invalid IMAP path After upgrading to mutt-1.5.21-r1, mutt behaves as expected.
mutt-1.5.21-r1 is stable today, so this bug is obsolete. Thanks for the notice, though.