$Log$
+ Revision 612.14 2003/12/15 16:33:47 ajc
+ * Added support for "Cc" and "Bcc" IMAP SEARCHes
+ * Bumped the version number to 6.13
+
Revision 612.13 2003/12/11 04:21:23 ajc
* Removed a "FIXME this needs blah blah" comment because blah blah has
since been completed
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
/*
* Text description of this software
*/
-#define CITADEL "Citadel/UX 6.12"
+#define CITADEL "Citadel/UX 6.13"
/*
* REV_LEVEL is the current version number (multiplied by 100 to avoid having
* usually more strict because you're not really supposed to dump/load and
* upgrade at the same time.
*/
-#define REV_LEVEL 612 /* This version */
+#define REV_LEVEL 613 /* This version */
#define REV_MIN 591 /* Oldest compatible database */
#define EXPORT_REV_MIN 612 /* Oldest compatible export files */
char f_name[256]; /* name of floor */
int f_ref_count; /* reference count */
struct ExpirePolicy f_ep; /* default expiration policy */
- };
+};
#define F_INUSE 1 /* floor is in use */
int is_or = 0;
int pos = 0;
int i;
+ char *fieldptr;
if (num_items == 0) return(0);
}
else if (!strcasecmp(itemlist[pos], "BCC")) {
- /* FIXME */
+ fieldptr = rfc822_fetch_field(msg->cm_fields['M'], "Bcc");
+ if (fieldptr != NULL) {
+ if (bmstrstr(fieldptr, itemlist[pos+1], strncasecmp)) {
+ match = 1;
+ }
+ phree(fieldptr);
+ }
pos += 2;
}
}
else if (!strcasecmp(itemlist[pos], "CC")) {
- /* FIXME */
+ fieldptr = rfc822_fetch_field(msg->cm_fields['M'], "Cc");
+ if (fieldptr != NULL) {
+ if (bmstrstr(fieldptr, itemlist[pos+1], strncasecmp)) {
+ match = 1;
+ }
+ phree(fieldptr);
+ }
pos += 2;
}
This MIME type may be found in the outbound queue room on Citadel systems,
which is typically called "__CitadelSMTPspoolout__". The room is flagged as
-private, but we will eventually hide it even to Aides.
+a "system" room, which means that it's completely hidden to everyone, although
+an Aide can get to it if the full name is specified (but unlike a normal
+hidden room, it does not appear in the known rooms list on subsequent visits).
Messages in this format contain delivery instructions. Therefore, for each
message in the queue to be delivered to one or more recipients, there will be