On Aug 10, 2004, at 3:40 AM, Eero Volotinen wrote:
Looks like that if using qmailadmin with autorespond 2.0.4, if and email that received too many messages with vacation / autoresponder on , is losing mail due to wrong exit level? (99 - stop processing .qmail file)

Can you confirm this? I noticed that today.

Steve Fulton patched vdelivermail.c to get around this problem. Fixing autorespond is probably a better solution.

I can't recall whether this problem is at all related to the larger problem of trying to use a single program to act both as an autoresponder and as a vacation program.

I'll hold the patch and try to put it into the version of autorespond in the QmailAdmin SourceForge project. I'm cc'ing this to the vpopmail list to see if anyone would like to comment.

my patch:

diff -u autorespond-2.0.4/autorespond.c autorespond-2.0.4.new/autorespond.c
--- autorespond-2.0.4/autorespond.c 2003-08-18 11:34:07.000000000 +0300
+++ autorespond-2.0.4.new/autorespond.c 2004-08-10 13:28:49.000000000 +0300
@@ -6,6 +6,7 @@

        Patched 2000 by Matthias Henze [EMAIL PROTECTED]
         Patched 2001 by Brad Dameron <[EMAIL PROTECTED]>
+       Patched 2004 by Eero Volotinen <[EMAIL PROTECTED]>


@@ -32,9 +33,11 @@
                                        the new commandline options are optional by now
                BD 06/2001      2.0.0   Removed excess code, cleaned up some code
+                EV 08/2004             Fixed bug with vpopmail
        MH - Matthias Henze [EMAIL PROTECTED]
         BD - Brad Dameron <[EMAIL PROTECTED]>
+       EV - Eero Volotinen


@@ -694,7 +697,8 @@
if(count>num) {
fprintf(stderr,"AUTORESPOND: too many received from [%s]\n",sender);
- _exit(99);
+ // EV: exit with 0, else mail autoresponder loses mail in vpopmail systems.
+ _exit(0);


-- 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