$Log$
+ Revision 614.55 2004/02/27 17:23:21 error
+ * Use syslog-compatible logging levels in lprintf(); the loglevel chosen
+ is passed directly to syslog(). The available levels are docuemnted in
+ sysdep_decls.h.
+
+ Revision 614.54 2004/02/27 04:29:00 ajc
+ * Fixed a bug in PLAIN authentication
+
+ Revision 614.53 2004/02/26 22:03:24 error
+ * ;Goto floor now goes to first KNOWN room, or first room only if no known
+ rooms on the floor
+
+ Revision 614.52 2004/02/26 20:30:36 error
+ * Populate IPC into a few more places to avoid a nasty crash at MORE prompt
+
+ Revision 614.51 2004/02/26 20:17:29 error
+ * Client stability and enhancements:
+ * CtdlServInfo structure moved inside CtdlIPC; eliminates unnecessary
+ global and makes IPC more self-contained
+ * Removed redundant serv_ from variable names in CtdlServInfo struct
+ * Send SIGHUP to process group when connection_died(). Kills self and
+ children (e.g. external editor).
+
+ Revision 614.50 2004/02/25 01:35:34 error
+ Missing parameter to a printf() function. No idea where it went, but I
+ put it back.
+
+ Revision 614.49 2004/02/24 05:09:06 ajc
+ * Better validation of incoming network messages.
+
+ Revision 614.48 2004/02/23 16:10:47 nbryant
+ --disable-pie by default.
+
+ Revision 614.47 2004/02/22 04:55:15 ajc
+ * CSR code more or less in its final form for now.
+
+ Revision 614.46 2004/02/22 04:42:05 ajc
+ * Initial version of function to automatically generate a Certificate
+ Signing Request if one is not present
+
+ Revision 614.45 2004/02/20 19:29:05 error
+ * Fix bug 112: .Goto allowed partial room match on forgotten rooms
+
+ Revision 614.44 2004/02/20 02:55:18 ajc
+ * Fixed one of the prompts (bugzilla #118)
+
+ Revision 614.43 2004/02/19 04:12:56 ajc
+ * Instead of doing the silly "Kolab reserved folder names" thing, instead
+ implemented the Cyrus-compatible style of forcing all personal mailbox
+ folders to be subfolders of INBOX. But only for IMAP.
+
+ Revision 614.42 2004/02/18 14:46:05 ajc
+ * smtp: EHLO response now includes both "AUTH " and "AUTH=" output, due to
+ the requirement to interoperate with brain-dead Microsoft shitware that
+ doesn't follow the RFC.
+
+ Revision 614.41 2004/02/17 16:56:51 ajc
+ * During SSL initialization, create the "keys" directory if it does not
+ exist ... generate a private key if that does not exist ... more code
+ coming soon to generate CSR and self-signed cert. Hard-coded pathnames
+ have been moved to sysconfig.h.
+
+ Revision 614.40 2004/02/17 04:47:22 ajc
+ * Support PLAIN auth method in SMTP
+
+ Revision 614.39 2004/02/17 03:53:11 ajc
+ * New ICAL subcommand "sgi" to enable or disable automatic server
+ generated invitations. (WebCit wants sgi's but Kontaqt doesn't.)
+
+ Revision 614.38 2004/02/16 21:54:22 ajc
+ * Support POP3 over TLS
+
+ Revision 614.37 2004/02/16 21:45:43 ajc
+ * Implement RFC 2487 - SMTP Service Extension for Secure SMTP over TLS
+
+ Revision 614.36 2004/02/16 21:02:28 ajc
+ * IMAP and Citadel protocols now use the same code path for TLS negotiation
+
+ Revision 614.35 2004/02/16 20:55:47 ajc
+ * Genericized the Citadel API for TLS-enabling protocols
+
+ Revision 614.34 2004/02/16 18:16:39 error
+ * Remove some unnecessary and possibly hazardous debugging code leftover
+ from debugging IMAP STARTTLS
+
+ Revision 614.33 2004/02/16 18:14:00 error
+ * Fixed IMAP STARTTLS; trouble was in client_read_ssl the whole time.
+ It should now be possible to implement SSL/TLS for any protocol.
+
+ Revision 614.32 2004/02/16 18:13:10 error
+ * Log session IDs in syslog as well as stderr
+
+ Revision 614.31 2004/02/16 15:06:44 error
+ * Add specific error codes for every command on the wire protocol, so that
+ clients can more easily determine what went wrong. Partially updated
+ session.txt (will finish it later). This lets clients more easily
+ determine what, if anything, went wrong with a particular command.
+
+ Revision 614.30 2004/02/15 06:06:49 ajc
+ * More work on IMAP TLS. Still not working correctly. :( Added in
+ support for server-side certificates. Now instead of failing it hangs.
+
+ Revision 614.29 2004/02/14 04:41:55 ajc
+ * STARTTLS attempt #2. Still disabled because it's broken.
+
+ Revision 614.28 2004/02/13 20:51:13 error
+ * Reset screen attributes before fork() so that external programs do the
+ right thing
+
+ Revision 614.27 2004/02/12 04:16:38 ajc
+ * Support for PLAIN logins in IMAP (need to test!)
+
+ Revision 614.26 2004/02/11 03:50:49 ajc
+ * The groupware folders "Calendar", "Contacts", "Notes", and "Tasks" are
+ now presented as subfolders of INBOX when using IMAP. This is for the
+ purpose of Kolab compatibility.
+
+ Revision 614.25 2004/02/09 22:40:57 error
+ * oops...also close the client on EOF/error on tty OUTPUT
+
+ Revision 614.24 2004/02/09 22:26:17 error
+ * Exit the citadel client when EOF reached on input - should prevent
+ a process from hanging around when a telnet connection dies unexpectedly
+
+ Revision 614.23 2004/02/08 05:29:34 ajc
+ * Corrected various small syntax conversion problems that were keeping
+ some vCards out of the LDAP directory.
+
+ Revision 614.22 2004/02/07 05:28:10 ajc
+ * Automatically purge files from ./network/spoolout which were intended
+ for nodes which no longer exist
+
Revision 614.21 2004/02/07 04:59:21 ajc
* Cache the IGnet config in memory, avoiding a db fetch for every single
operation which references it. Invalidate the cache when a new config