Trying to get my wife's emails out of a proprietary format and into mbox for use on our local box. Doing some major file munging. In a test email the following doesn't work. (forgetting dates, email addresses, etc.)
From heraddress@herdomain.com Wed Oct 10 11:50:44 2005 -0700
Date: Wed, 10 Oct 2005 11:50:42 -0700 (PDT)
This does work
From heraddress@herdomain.com Wed Oct 9 11:50:44 2005 -0700
Date: Wed, 9 Oct 2005 11:50:42 -0700 (PDT)
This is just me munging files and trying them in Pine.
Any idea why the first doesn't work and the second does?
Preston
On Thu, Oct 13, 2005 at 08:54:56PM -0700, Preston Crawford enlightened us:
Trying to get my wife's emails out of a proprietary format and into mbox for use on our local box. Doing some major file munging. In a test email the following doesn't work. (forgetting dates, email addresses, etc.)
From heraddress@herdomain.com Wed Oct 10 11:50:44 2005 -0700
Date: Wed, 10 Oct 2005 11:50:42 -0700 (PDT)
This does work
From heraddress@herdomain.com Wed Oct 9 11:50:44 2005 -0700
Date: Wed, 9 Oct 2005 11:50:42 -0700 (PDT)
This is just me munging files and trying them in Pine.
Any idea why the first doesn't work and the second does?
My guess (and it's just a guess) is that there's an extra space between "Oct" and "10".
Matt
Quoting Preston Crawford me@prestoncrawford.com:
Trying to get my wife's emails out of a proprietary format and into mbox for use on our local box. Doing some major file munging. In a test email the following doesn't work. (forgetting dates, email addresses, etc.)
From heraddress@herdomain.com Wed Oct 10 11:50:44 2005 -0700 From heraddress@herdomain.com Wed Oct 9 11:50:44 2005 -0700
This is just me munging files and trying them in Pine.
Any idea why the first doesn't work and the second does?
I guess it is the amount of spaces that confuses pine. Being lazy to check what the standards actually say, I've checked how the 'From ' lines generated by procmail (when used as MDA by sendmail) look like. They have two spaces after email address, single space after month name in date format (with day in month space padded, so you get two spaces after month if day is single digit), and no time zone info. Try something like this and see if Pine is going to be happy with it (should be):
From heraddress@herdomain.com Wed Oct 10 11:50:44 2005 From heraddress@herdomain.com Wed Oct 9 11:50:44 2005
---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
On Fri, 14 Oct 2005, Aleksandar Milivojevic wrote:
Quoting Preston Crawford me@prestoncrawford.com:
Trying to get my wife's emails out of a proprietary format and into mbox for use on our local box. Doing some major file munging. In a test email the following doesn't work. (forgetting dates, email addresses, etc.)
From heraddress@herdomain.com Wed Oct 10 11:50:44 2005 -0700 From heraddress@herdomain.com Wed Oct 9 11:50:44 2005 -0700
This is just me munging files and trying them in Pine.
Any idea why the first doesn't work and the second does?
I guess it is the amount of spaces that confuses pine. Being lazy to check what
Thanks to both of you guys. That's exactly what was going on. You learn something everyday. Now I know what makes mbox mbox, I guess. A set number of characters on that line in the date portion. Now I know what I need to do, hopefully, to get those files of my wife's working. Thanks.
Preston