1 a bug in 1.5.20 upstream prevented mutt from correctly parsing the port
2 in an IMAP url (imap[s]://...:<port>), this was fixed by upstream bug
3 3264 and backported to the Debian package in 534543
6 ===================================================================
7 --- mutt.orig/url.c 2009-06-25 12:37:59.000000000 +0200
8 +++ mutt/url.c 2009-06-25 12:39:05.000000000 +0200
11 if ((p = strchr (t, ':')))
15 - if (mutt_atos (p, (short*) &ciss->port) < 0)
16 + if (mutt_atoi (p, &t) < 0 || t < 0 || t > 0xffff)
18 + ciss->port = (unsigned short)t;