On Jun 30, 2004, at 4:18 PM, Ken Jones wrote:
Yep. Looks like whoever added the Warning message code needed to
ifdef it with the big user dir define.

Added to CVS and scheduled for 5.4.7.

--- vpopmail.c 26 Jun 2004 02:20:56 -0000 1.28.2.4
+++ vpopmail.c 1 Jul 2004 05:29:45 -0000 1.28.2.5
@@ -262,9 +262,11 @@
fprintf(stderr, "Failed while attempting to delete domain from the qmail control files\n");
}


+#ifdef USERS_BIG_DIR
if (vdel_dir_control(domain) != 0) {
- fprintf (stderr, "Failed while attempting to delete domain from dir_control\n");
+ fprintf (stderr, "Warning: Failed to delete dir_control for %s\n", domain);
}
+#endif


/* send a HUP signal to qmail-send process to reread control files */
signal_process("qmail-send", SIGHUP);
@@ -379,10 +381,12 @@
*/
vdel_limits(domain);


+#ifdef USERS_BIG_DIR
/* delete the dir control info for this domain */
if (vdel_dir_control(domain) != 0) {
fprintf (stderr, "Warning: Failed to delete dir_control for %s\n", domain);
}
+#endif


     /* Now remove domain from filesystem */
     /* if it's a symbolic link just remove the link */


-- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/



Reply via email to