On Dec 9, 2005, at 7:05 AM, Nikki Locke wrote:
[EMAIL PROTECTED] cat .qmail-default | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox [EMAIL PROTECTED] cat postmaster/.qmail # delete
The new vdelivermail in vpopmail 5.4.11 to 5.4.13 had a bug where it wasn't properly handling the "delete all mail" option.
It's fixed in the 5.4.14 release which is currently only in CVS, but which should be released soon.
It's a pretty simple patch if you want to apply it to 5.4.13 and recompile/install:
=================================================================== RCS file: /cvsroot/vpopmail/vpopmail/vdelivermail.c,v retrieving revision 1.11.2.5 retrieving revision 1.11.2.6 diff -u -d -r1.11.2.5 -r1.11.2.6 --- vdelivermail.c 2 Sep 2005 18:47:29 -0000 1.11.2.5 +++ vdelivermail.c 19 Nov 2005 16:24:22 -0000 1.11.2.6 @@ -709,7 +709,10 @@ /* read the file, line by line */ while ( fgets(qmail_line, sizeof(qmail_line), fs ) != NULL ) { - if (*qmail_line == '#') continue; + if (*qmail_line == '#') { + return_value = 1; + continue; + } /* remove the trailing new line */ for(i=0;qmail_line[i]!=0;++i) { Tom Collins Tom Logic LLC PO Box 5717 Napa, CA 94581 (707) 265-6622 (707) 265-6646 fax [EMAIL PROTECTED]