From cbd2502118b6a5d6bfa3bb1fa5c518f268eed121 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Fri, 24 Aug 2007 22:09:34 +0000 Subject: [PATCH] Compile with -DDISABLE_IMAP_ACL to build a Citadel server without the IMAP ACL extension. --- citadel/modules/imap/serv_imap.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/citadel/modules/imap/serv_imap.c b/citadel/modules/imap/serv_imap.c index 46b205397..4d5feb063 100644 --- a/citadel/modules/imap/serv_imap.c +++ b/citadel/modules/imap/serv_imap.c @@ -435,12 +435,16 @@ void imap_cleanup_function(void) * output this stuff in other places as well) */ void imap_output_capability_string(void) { - cprintf("CAPABILITY IMAP4REV1 NAMESPACE ID ACL AUTH=PLAIN AUTH=LOGIN"); + cprintf("CAPABILITY IMAP4REV1 NAMESPACE ID AUTH=PLAIN AUTH=LOGIN"); #ifdef HAVE_OPENSSL if (!CC->redirect_ssl) cprintf(" STARTTLS"); #endif +#ifndef DISABLE_IMAP_ACL + cprintf(" ACL"); +#endif + /* We are building a partial implementation of METADATA for the sole purpose * of interoperating with the ical/vcard version of the Bynari Insight Connector. * If you were expecting something else, comment out one or both of these -- 2.30.2