pkgsrc/mail/courier-imap/patches/patch-an
jlam c50c7f3609 Update mail/courier-imap to 4.2.1. Changes from version 4.1.3 include:
* Try to autodetect clock skew.

* Include remote port number in IMAP and POP3 logs.

* Optimization: skip over folders not in the current scope, avoiding
  unnecessary overhead of checking their ACLs.
2007-10-15 15:37:20 +00:00

16 lines
425 B
Text

$NetBSD: patch-an,v 1.1 2007/10/15 15:37:21 jlam Exp $
--- imap/mailboxlist.c.orig Fri Jul 27 02:41:01 2007
+++ imap/mailboxlist.c
@@ -347,9 +347,11 @@ static void folder_entry(char *folder, c
if (!need_add_folders && !need_add_hier)
return; /* Nothing to do */
+ {
CHECK_RIGHTSM(folder, have_rights, ACL_LOOKUP);
if (!have_rights[0])
return;
+ }
if (need_add_folders)
(void) add_hier(folders, folder);