Commit Graph

576 Commits (ee888bdc69f32567a7488c40bd84d07bb8dd6e7d)
 

Author SHA1 Message Date
Colin Leroy 0948e98c15 Fixed wrong deinit on error path. 12 years ago
DINH Viet Hoa dd98ad5d67 implemented workaround for Bouygues Telecom IMAP server (DOLMEN IMAP4rev1 Server), timezone can be missing in INTERNALDATE 12 years ago
DINH Viet Hoa dc8cbc5508 workaround for broken param list 12 years ago
DINH Viet Hoa 639a6bfa45 implemented workaround for zohomail imap server 12 years ago
DINH Viet Hoa 77900c9221 workaround for Exchange issue 12 years ago
DINH Viet Hoa 113dd97ea6 nz-number can parse 0 12 years ago
Sébastien Bigaret 591012e2dd Response code 201 is ok after MODE READER
cf. http://tools.ietf.org/html/rfc3977#section-5.3

Not considering 201 as Ok prevents newsreaders using libetpan to work
correctly when it happens: withou the patch they get
UNEXPECTED_RESPONSE.

Ref. bug #3390872 https://sourceforge.net/tracker/?func=detail&aid=3390872&group_id=41064&atid=429696

Signed-off-by: Sébastien Bigaret <sebastien.bigaret@telecom-bretagne.eu>
12 years ago
DINH Viêt Hoà 64ecbc48f5 Merge pull request #4 from sbigaret/bug/3391479_Handling_response_code_482
Bug/3391479 handling response code 482
12 years ago
DINH Viêt Hoà d0e43aadd5 Merge pull request #5 from sbigaret/proposal/Response_code_480_is_an_error
Renamed NEWSNNTP_WARNING_REQUEST_AUTHORIZATION_USERNAME: now an ERROR
12 years ago
DINH Viet Hoa 81c10beea3 implemented workaround for Lotus Domino IMAP server 12 years ago
Sébastien Bigaret cb3829dafe Renamed NEWSNNTP_WARNING_REQUEST_AUTHORIZATION_USERNAME: now an ERROR
This return code corresponds to 480 "authentication failed", and like
all 4xx response codes it means that the command getting this answer
has not been performed.

NEWSNNTP_WARNING_REQUEST_AUTHORIZATION_USERNAME is deprecated but it
is kept for compatibility with the existing code base.

Ref.: http://tools.ietf.org/html/rfc977#section-2.4.2

Signed-off-by: Sébastien Bigaret <sebastien.bigaret@telecom-bretagne.eu>
12 years ago
Sébastien Bigaret 2cb13557ad Adding a specific error for 482 "auth. commands issued out of sequence"
Reporting 482 "authentication commands issued out of sequence" as
AUTHENTIFICATION REJECTED tricks clients into thinking that the
supplied credentials are invalid, while it is definitely not the case
(but rather, this is caused by a flaw in the client's logic).

AFAIK there is no adequate error for this in libetpan, hence the
introduction of a new error:
  NEWSNNTP_ERROR_AUTHENTICATION_OUT_OF_SEQUENCE

It is mapped to MAIL_ERROR_BAD_STATE in nntpdriver-tools:
nntpdriver_nntp_error_to_mail_error() --not sure about this, but
included here so that it is not forgotten and it will be eventually
fixed in case the patch is accepted.

Signed-off-by: Sébastien Bigaret <sebastien.bigaret@telecom-bretagne.eu>
12 years ago
Sébastien Bigaret 29977036cf Resp.code 481 "Auth. failed/rejected" is now handled (auth.user&pass)
See RFC: http://tools.ietf.org/html/rfc4643

Ref. bug #3391479 https://sourceforge.net/tracker/?func=detail&aid=3391479&group_id=41064&atid=429696

Signed-off-by: Sébastien Bigaret <sebastien.bigaret@telecom-bretagne.eu>
12 years ago
DINH Viet Hoa 07ad8f425f log when a network error occurs 12 years ago
DINH Viet Hoa 662a9bfeb8 remove iphone target 12 years ago
DINH Viet Hoa daf87a2a10 work on sample, added pop sample 12 years ago
DINH Viet Hoa 643dcd2a6b added IMAP example 12 years ago
DINH Viet Hoa c28895171d sample for MIME 12 years ago
patrick84 7a974580e7 Fixed --with-sasl configure script option 12 years ago
DINH Viet Hoa 417fda950a more files in .gitignore 12 years ago
rentzsch 46a410a944 Add .gitignore until distclean is made more comprehensive. 12 years ago
DINH Viet Hoa f25e5bd889 remove configure 12 years ago
DINH Viet Hoa 46e16d8af5 generation version 12 years ago
DINH Viet Hoa 1180e0f9c5 openssl not needed any more 12 years ago
patrick84 f7c4b6a0ae Added configure options --with-curl and --with-expat 12 years ago
DINH Viet Hoa 9155727e0b import from CVS 12 years ago