9462f14143
Changes to the Cyrus IMAP Server since 2.1.13 * Be more forgiving in the parsing of MIME boundry headers, specificly those generated by eudora where the outer boundries are substrings of the inner boundries. This feature can be disabled by enabling the rfc2046_strict option. * Allow cyradm to handle aggregate mailbox sets for ACL and DELETE operations. * Add a lmtp_downcase_rcpt option to force the lowercasing of recipient addresses (Henrique de Moraes Holschuh <hmh@debian.org>). * Include more MIME headers in sieve rejection notices * Add an mbexamine command for debugging purposes * LMTP will now fatal error if we cannot initialize the duplicate delivery database. * Continued audit by Security Appraisers and Bynari * Correctly terminate the processes by calling service_abort even on successful exit (helps to fix a db3 lockers problem) * Fix some murder+altnamespace/unixhiersep issues * Fix imclient's handling of literals. * Add support for the windows-1256 character set * Don't log 'could not shut down filedescriptor' messages when the socket is already not connected * Now include a script to convert sieve script names to the altnamespace format * Added a --with-extraident configure option to make it easier to set the extra version information that is compiled into the binary. * Minor build fixes. * Minor other bug fixes. OK'ed by chris@
33 lines
808 B
Text
33 lines
808 B
Text
$NetBSD: patch-ak,v 1.3 2003/08/16 09:23:59 recht Exp $
|
|
|
|
--- imap/ctl_cyrusdb.c.orig 2003-05-02 17:23:05.000000000 +0200
|
|
+++ imap/ctl_cyrusdb.c 2003-07-26 14:21:45.000000000 +0200
|
|
@@ -231,9 +231,9 @@
|
|
|
|
/* create the names of the backup directories */
|
|
strcpy(backup1, dirname);
|
|
- strcat(backup1, ".backup1/");
|
|
+ strcat(backup1, ".backup1");
|
|
strcpy(backup2, dirname);
|
|
- strcat(backup2, ".backup2/");
|
|
+ strcat(backup2, ".backup2");
|
|
|
|
syslog(LOG_NOTICE, "%s", msg);
|
|
|
|
@@ -289,6 +289,7 @@
|
|
struct dirent *dirent;
|
|
|
|
tail = backup2 + strlen(backup2);
|
|
+ *tail++ = '/';
|
|
|
|
/* remove db.backup2 */
|
|
dirp = opendir(backup2);
|
|
@@ -302,7 +303,7 @@
|
|
|
|
closedir(dirp);
|
|
}
|
|
- *tail = '\0';
|
|
+ tail[-1] = '\0';
|
|
r2 = rmdir(backup2);
|
|
|
|
/* move db.backup1 to db.backup2 */
|