On Mon, 18 Jul 2011, Mikkel L. Ellertson wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 07/18/2011 08:30 PM, Matthew Saltzman wrote:
>> On Mon, 2011-07-18 at 15:28 -0500, Michael Hennebry wrote:
>>>
>>> I couldn't get it to work with exchange.
>>> I'm told Microsoft is holding up IMAP requests.
>>> I did get it to work with cableone.
>>> The relevant account is a thin wrapper on gmail.
>>> I have the mail I want, sort of.
>>> I had to hit forward rather a lot.
>>> So all my messages are wrapped in forwarding boilerplate.
>>> Is there a convenient way I can unwrap them?
>>
>> There's a form of forwarding usually denoted "redirect".  If you can set
>> the forwarding type in the forwarding account to redirect, the received
>> message will look like the original (I think).  I'm pretty sure Exchange
>> is capable of this.
>>
> You could try using fetchmail to get the messages. I believe Gmail
> supports POP3. I know it supports IMAP.

I forwarded the 300+ messages to a gmail account one at a time.
I got them on my hard drive using fetchmail.

> For the mail you have, you could probably use sed to remove the
> forwarding "boiler plate". Exactly how you will want to do it
> depends on if the messages are in one big file, or separate files.

For a one-off, I think I'd use python before
sed for something especially complicated.

The problem is I don't understand the syntax well enough to know what to do.
When I vim the mbox, I often see what appeared
to me to be random bits of base-64.

Now I think I have a clue.
Content-Transfer-Encoding: base64
means that the entire forwarded message text is in base-64
If I remove that line and decode the following base-64,
I should at least get a better look at what else I need to undo.

I was rather hoping that I was not the first person that wanted
to do this and that there was a canned solution somewhere.

-- 
Michael   henne...@web.cs.ndsu.nodak.edu
"Pessimist: The glass is half empty.
Optimist:   The glass is half full.
Engineer:   The glass is twice as big as it needs to be."
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to