I'm building a data loggerr and I've spent a lot of time trying to get this right, every forum takes me in a different direction and I think a weekend of googling warrants submitting a question here.
I'm running Ubuntu 12.10, I use fetchmail to get my mail, it sends it to procmail, and I have procmail piping it to a python script that is supposed to parse the body, and save it to a text file. The problem is I can't figure out how to write a python script that will do this, every example I find online is a bit over my head and I was hoping someone could take a little time to help me understand how this could be accomplished.