Fix interaction with POP3 servers that do not support the CAPA command.
* libproto/pop/mbox.c (pop_open): Do not bail out if the CAPA command returns -ERR. Assume a pre-RFC2449 server. * include/mailutils/pop3.h (mu_pop3_strresp) (mu_pop3_sget_response,mu_pop3_aget_response) (mu_pop3_get_response): New protos. * libproto/pop/pop3_response.c (mu_pop3_response): Don't make out a fake response in case of a I/O error. (mu_pop3_strresp) (mu_pop3_sget_response,mu_pop3_aget_response) (mu_pop3_get_response): New functions.
Showing
3 changed files
with
72 additions
and
23 deletions
-
Please register or sign in to post a comment