Article View: news.software.nn
Article #443nn mailheader parsing problem
From: Peter Brouwer
Date: Thu, 17 Dec 1992 14:18
Date: Thu, 17 Dec 1992 14:18
27 lines
1459 bytes
1459 bytes
X-Disclaimer: This opinion is mine alone
I experienced problems when using nn to look through mailfolders ( and my
mailbox ).
The first line in my mail header contains a line from the local mailer.
This line is parsed by nn to see what kind of messages there are in the folder.
For the mail header the syntax is ( by nn )
From name day month hh:mm:ss [TZ] year.
My local mailer does not list the seconds in the time. This causes nn to fail
to recognize the mail header.
I added the following path to digest.c
112,117d111
< /* some local mailers don't use the seconds field! */
< if ( isspace(*lp) && n == 5 )
< {
< n++;
< *fp++ = "00";
< }
--
# Peter Brouwer, | Digital Equipment Enterprise , #
# NET : pb@idca.tds.philips.nl | Integration Industry Standard Systems, #
# PHONE:ext [+31] [-0]55 432992,| Dept Systems Enginering, Bld V1/B4 #
# FAX :ext [+31] [-0]55 432070 | P.O.Box 245,7300AE Apeldoorn,The Netherlands#
Technical Details
Message-ID:
<pb.724601900@atperf.idca.tds.philips.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!philapd!apdnm!atperf.idca.tds.philips.nl!pbShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!philapd!apdnm!atperf.idca.tds.philips.nl!pb From: pb@idca.tds.philips.nl (Peter Brouwer) Newsgroups: news.software.nn Subject: nn mailheader parsing problem Message-ID: <pb.724601900@atperf.idca.tds.philips.nl> Date: 17 Dec 92 14:18:20 GMT Sender: news@idca.tds.philips.nl Reply-To: pb@idca.tds.philips.nl (Peter Brouwer) Organization: Digital Equipment Enterprise B.V.,Apeldoorn,The Netherlands. Lines: 27