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.



my patch:
http://www.jlug.fi/~eero/autorespond-2.0.4.vpopmail:


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

        Usage:

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

        TODO:

@@ -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);
}


        sprintf(filename,"tmp%u.%u",getpid(),timer);

--
Eero

Reply via email to