From: Art Cancro Date: Fri, 24 Aug 2007 22:09:34 +0000 (+0000) Subject: Compile with -DDISABLE_IMAP_ACL to build a Citadel server X-Git-Tag: v7.86~3116 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=cbd2502118b6a5d6bfa3bb1fa5c518f268eed121 Compile with -DDISABLE_IMAP_ACL to build a Citadel server without the IMAP ACL extension. --- 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