On Tue, 03 Feb 2004 11:12:51 -0500, Frank J. Mattia wrote: > please excuse me if this problems already been solved - or if im > answering the wrong question. i have only read the last two posts to > this thread.
Yes, this problem has been fixed. I did not follow the format courier-imap understands. > my web host provides courier-imap service to me on a openbsd box and > recently i decided to take advantage of it. what i found was that i was > unable to delete any directories under trash. i brought it up to them > and here is what came out of it. > > ---------------------- > > Here comes a patch to be included in your Courier IMAP 1.7.2 port. courier-imap > cannot delete (empty) folders because it uses unlink() on Maildirs which are not > emty (they contain cur/, tmp/ new/). courier-imap checks for a return code EISDIR on > unlink and then recurses down to this dir (delsubdir() in > maildir/maildirdelfolder.c). Thanks, I'm using courier-imap-2.1.2-r1. > > On OpenBSD (3.4-current, at least) unlink returns EPERM, not EISDIR if unlink() is > used on a directory. > > This small patch changes the folder deletion routine accordingly. > > [patch-maildir_maildirdelfolder_c] Has this patch been submitted to Gentoo Portage team? -- Peter Wu Powered by Microsoft Windows XP [Version 5.1.2600] -- [EMAIL PROTECTED] mailing list
