hypermail broke

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Martin Hamilton
Fecha:  
A: exim-users
Temas nuevos: Re: hypermail broke - exim format of From_ lines
Asunto: hypermail broke
FYI - I noticed that the format of exim's tod_bsdinbox variable was
breaking my copy of Hypermail. The symptom was that Hypermail would
just hang around forever without doing its thing, and the problem
turned out to be the GMT offset in the "From " line ...

From ph10@??? Thu Mar 07 09:27:02 +0000 1996

I hacked up a little patch to Hypermail which tries to fix things up
by removing the GMT offset when present. Doesn't seem to break
anything else - hopefully nothing else is trying to parse this ?!
Now it sees ...

From ph10@??? Thu Mar 07 09:27:02 1996

Here's that patch, in case it's any use:

*** parse.c.FCS Wed Jan 10 08:25:50 1996
--- parse.c     Thu Mar  7 16:32:14 1996
***************
*** 553,558 ****
--- 553,566 ----
                        tmpdate[23] = thisyear[3];
                        tmpdate[24] = '\0';
                }
+               if (tmpdate[20] == '+') {
+                       /* exim been here! */
+                       tmpdate[20] = thisyear[0];
+                       tmpdate[21] = thisyear[1];
+                       tmpdate[22] = thisyear[2];
+                       tmpdate[23] = thisyear[3];
+                       tmpdate[24] = '\0';
+               }
                sprintf(tmpdate, "%s %s", tmpdate, timezonestr);
                return tmpdate;
        }


Toodle pip!

Martin