Projects
Kolab:3.4
cyrus-imapd
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 73
View file
cyrus-imapd.spec
Changed
@@ -67,8 +67,7 @@ ## Patch0001: cyrus-imapd-2.5-default-twoskip.patch - -#Patch9999: cyrus-imapd-2.5-tls.patch +Patch0002: cyrus-imapd-2.5-ctl_mboxlist-mbtype.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) @@ -253,8 +252,7 @@ %setup -q -n %{_name}-%{real_version}%{?dot_snapshot_version} #%patch0001 -p1 - -#%patch9999 -p1 +%patch0002 -p1 # only to update config.* files aclocal -I cmulocal
View file
cyrus-imapd-2.5-ctl_mboxlist-mbtype.patch
Added
@@ -0,0 +1,27 @@ +From 314e7c0d7adb68e22110532f7e069db74701251c Mon Sep 17 00:00:00 2001 +From: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> +Date: Thu, 31 Jul 2014 11:20:37 +0200 +Subject: [PATCH] Do not include mailboxes with mbtype MBTYPE_DELETED in ctl_mboxlist -d output + +--- + imap/ctl_mboxlist.c | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/imap/ctl_mboxlist.c b/imap/ctl_mboxlist.c +index 77168a0..92d508b 100644 +--- a/imap/ctl_mboxlist.c ++++ b/imap/ctl_mboxlist.c +@@ -320,6 +320,10 @@ static int dump_cb(void *rockp, + + switch (d->op) { + case DUMP: ++ if ((mbtype & MBTYPE_DELETED) && (config_mupdate_config == IMAP_ENUM_MUPDATE_CONFIG_STANDARD) && config_getstring(IMAPOPT_PROXYSERVERS)) { ++ break; ++ } ++ + if (!d->partition || !strcmp(d->partition, part)) { + printf("%s\t%d %s %s\n", name, mbtype, part, acl); + if (d->purge) { +-- +1.7.1 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.