C
Chuck Amadi
Has anyone got a simple python script that will parse a linux mbox and create
a large file to view .
Cheers
Chu
a large file to view .
Cheers
Chu
Chuck Amadi said:Has anyone got a simple python script that will parse a linux mbox
and create a large file to view .
William said:"Create a large file to view"? Care to elaborate?
Eric said:I've sent him a working example that disassembles mailboxes in both
mbox and maildir form. Personally, I'm now scouting around for code
that will let you delete and expunge messages from an mbox mailbox. I
fear I need to pull my thumb out and expand the mailbox module to
handle writing as well. mbox manipulations are butt ugly.
---eric
Cheers I do note that I need to create a global-config file I have
seen something on this in O'Reilly Python Programming . Albiet I dont
need to connect to a pop3 account .Thus would this script need a bit
of hacking or is the script I got sufficient as Monday 7th is my D-Day
to get that script working and demo to my boss.
chuck amadi said:Note briefly my main goal is to get the body content to another file
for processing to Postgresql database.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.