$Log$
+ Revision 591.105 2002/08/31 04:12:39 ajc
+ * Set version number to 6.00 in documentation and header files.
+ * Convert RFC822 newlines (CRLF) to Unix/Citadel newlines (LF) when
+ performing an IMAP APPEND command.
+
Revision 591.104 2002/08/28 03:18:06 ajc
* Make reply_to and reply_subject global (otherwise they don't work!)
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
case 87:
network_config_management("listrecp",
- "Mailing list recipients");
+ "Message-by-message mailing list recipients");
+ break;
+
+ case 94:
+ network_config_management("digestrecp",
+ "Digest mailing list recipients");
break;
case 89:
/*
* Text description of this software
*/
-#define CITADEL "Citadel/UX 5.91"
+#define CITADEL "Citadel/UX 6.00"
/*
* REV_LEVEL is the current version number (multiplied by 100 to avoid having
* are older than REV_MIN, none of the programs will work until the setup
* program is run again to bring things up to date.
*/
-#define REV_LEVEL 591 /* This version */
+#define REV_LEVEL 600 /* This version */
#define REV_MIN 591 /* Oldest compatible version */
#define SERVER_TYPE 0 /* zero for stock Citadel/UX; other developers please
cmd=92,2,&.,&Aide,&System configuration,network &Filter list
cmd=85,2,&.,&Aide,&Terminate server,&Now
cmd=86,2,&.,&Aide,&Terminate server,&Scheduled
-cmd=87,1,&.,&Aide,mailing &List management
+cmd=87,1,&.,&Aide,mailing &List recipients
+cmd=94,1,&.,&Aide,mailing list &Digest recipients
cmd=89,1,&.,&Aide,&Network room sharing
cmd=29,0,&.,&Terminate,and &Quit
-----------------------
- Citadel/UX version 5.91
+ Citadel/UX version 6.00
-----------------------
Copyright (c) 1987-2002 by the Citadel development team.
char buf[SIZ];
char savedroom[ROOMNAMELEN];
int msgs, new;
+ int i;
if (num_parms < 4) {
return;
}
- lprintf(9, "Converting message...\n");
+ /* Convert RFC822 newlines (CRLF) to Unix newlines (LF) */
+ lprintf(9, "Converting newline format\n");
+ for (i=0; i<literal_length; ++i) {
+ if (!strncmp(&IMAP->transmitted_message[i], "\r\n", 2)) {
+ strcpy(&IMAP->transmitted_message[i],
+ &IMAP->transmitted_message[i+1]);
+ --literal_length;
+ }
+ }
+
+ lprintf(9, "Converting message format\n");
msg = convert_internet_message(IMAP->transmitted_message);
IMAP->transmitted_message = NULL;
IMAP->transmitted_length = 0;
end = pos;
}
- /* done with headers? */
+ /* done with headers? (commented out; see below)
if ( ((rfc822[pos]=='\n')
||(rfc822[pos]=='\r') )
&& ( (rfc822[pos+1]=='\n')
end = pos;
done = 1;
}
+ */
+
+ /* done with headers? (try this way instead) */
+ if ( (rfc822[pos]=='\n')
+ && ( (rfc822[pos+1]=='\n')
+ ||(rfc822[pos+1]=='\r')) ) {
+ end = pos;
+ done = 1;
+ }
if (pos >= (msglen-1) ) {
end = pos;
/* read in the lines of message text one by one */
while ( (client_gets(buf)>0) && strcmp(buf, terminator) ) {
- /* strip trailing newline type stuff */
- if (buf[strlen(buf)-1]==10) buf[strlen(buf)-1]=0;
- if (buf[strlen(buf)-1]==13) buf[strlen(buf)-1]=0;
-
+ /* Measure the line and strip trailing newline characters */
linelen = strlen(buf);
+ if (linelen > 0) if (buf[linelen-1]==13) buf[linelen--]=0;
+ if (linelen > 0) if (buf[linelen-1]==10) buf[linelen--]=0;
/* augment the buffer if we have to */
if ((message_len + linelen + 2) > buffer_len) {
some code and deciding what to work on.
-Goals for 5.90
---------------
-* New networker (done)
-* Database enhancements (done)
+Goals to achieve during the 6.xx cycle
+--------------------------------------
-
-Goals for 6.00
---------------
-* Multiple recipients allowed in Citadel protocol. Rework the code to feed
- all deliveries through the same set of functions, regardless of whether a
- message is submitted through Citadel protocol, SMTP, or from the networker.
- (Completed in 5.91)
-
-* Get the Global Address Book working
- (Completed in 5.91, needs more polish on the UI side, though)
+* Address books: allow personal address books as well as global, and give
+ the system the ability to use those addresses as e-mail shortcuts.
-* Delegations
- (Access controls complete in 5.91. Need better presentation before 6.00)
+* Better UI presentation for delegated access to mailboxes.
* Optimize the IMAP server and add the search command.
Mozilla/Netscape makes this query:
(References X-Ref X-Priority X-MSMail-Priority X-MSOESRec Newsgroups)] ENVELOPE
RFC822.SIZE UID FLAGS INTERNALDATE)
-* Nested folders ... at least in IMAP
- (done)
-
-* "Views" (presentation hints for WebCit etc.)
- (mostly done)
+* LDAP directory support
+* Calendar service
-Goals for beyond 6.00
----------------------
-* LDAP directory support?
-* Calendar server
-* Address book server
-* Integration with Evolution, Mozilla Calendar, etc.
* NNTP