🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #116097

[Dialog] incorrect mbox format when saving mails?

#116097
From: stewie
Date: Sun, 15 Dec 2002 14:59
38 lines
2583 bytes
Hi there,
i noticed a problem when exporting (saving) my emails in mbox format 
with Dialog 2.0.3.1: the exported mbox file is not properly handled by 
Linux mail clients such as Mutt, for example.
The problem arises because Dialog writes the From: field in the 
following format:

  From stewie@despammed.com Sun Dec 15 13:40:44

As you can see, year value is missing.
The mbox format specifications[0] says:
  
  The From_ line always looks like From envsender date 
  moreinfo.  envsender is one word, without spaces or tabs; it
  is usually the envelope sender of the message.  date is the
  delivery date of the message.  It always contains exactly 24
  characters in asctime format.

The asctime format[1] is defined as following:
  
  Format the time value at clock into a string of the form 
  Wed Jun 15 11:38:07 1988\n\0

See the year? :-)
In fact, by manually adding the year value in the exported mbox file i 
can see all my emails with mutt (and other MUA which use mbox format, i 
presume), without any error.
It would be really nice if one of the next release of Dialog (which by 
the way it's really impressive, great work Marcus!) corrects this 
<?>bug</?>.

Greetings.

stewie

[0] http://www.qmail.org/man/man5/mbox.html
[1] http://www.objsw.com/docs/libc_116.html
Technical Details
Message-ID: <46bnvayf16ea$.1kaxepe898zcv$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!b-180-183-110.hb.dial.de.ignite.NET!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <46bnvayf16ea$.1kaxepe898zcv$.dlg@40tude.net>
Subject: [Dialog] incorrect mbox format when saving mails?
Date: Sun, 15 Dec 2002 15:59:06 +0100
From: stewie <stewie@despammed.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!b-180-183-110.hb.dial.de.ignite.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 37
NNTP-Posting-Host: b-180-183-110.hb.dial.de.ignite.net (62.180.183.110)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: fu-berlin.de 1039964007 37496932 62.180.183.110 (16 [142391])
X-Face: ,6,YtD'T(rzwf_kOZs$b1Dq>|KO#-EGVm%hC`//"r.+"JfIOfqDAGWu#ad/P6\^,2pD_u&B Y:zT,MUlu%@_n.5X^oe"/q]\\B1>XSP<^v5sP2e]u"73rb7[NaKp~VA~@q079|hAcWg45:&>JCX)@Z 0{pj#Qt*Z(9PJzt)YU;jZjm%J5EReSO`~b|,7oi/\gW6u.[wmBHAO"awF*6<P6_S6WlLVPG/0ITok, xD=8N>6gI90t(tEdy3[c2hlVx[/s85yN:(L0c<y/V}UZ)k$)*`n{[q7]1A<i4t?EKPW?[]/[I?K{Y8 [agk3SWJ|7&Njp
User-Agent: 40tude_Dialog/2.0.3.1