imap4d: various fixes.
* imap4d/lsub.c (imap4d_lsub): Fix untagged responses. * imap4d/imap4d.h (make_interdir): New proto. * imap4d/create.c (mkdir_p): Remove function. (MKDIR_PERMISSIONS): Move macro definition to imap4d.h (imap4d_create): Use make_interdir instead of mkdir_p. * imap4d/rename.c (make_interdir): New function. (imap4d_rename): Create intermediate directories as required by RFC 3501. Issue additional diagnostics if rename fails. Fix OK response text. * imap4d/imap4d.c (imap4d_mainloop): Implement idle timeout. * imap4d/bye.c (imap4d_bye0): Reset the SIGPIPE before sending the OK response in order to avoid recursion. Unrelated changes: * maidag/tests/forward.at: Fix the expected reply (see f5374bc2).
Showing
8 changed files
with
121 additions
and
58 deletions
-
Please register or sign in to post a comment