On Wednesday 24 September 2003 03:55 pm, David Bear wrote: > I need to write a program the grabs mail from a standard mail folder > and processes it. > > The trouble is I have no idea what mail file format FreeBSD uses by > default. I am using postfix, and currently postfix is my mta and mda. > I will be adding procmail as the mda. I'm guessing procmail writes > the same kind of file the postfix does... but here I'm showing my > ignorance. > > I will be using python as my language and there are modules for MH, > maildir, mbox, and mailbox... Anyone have any recommended reading for > me to better understand what I need to do?
At one point, I started writing a Python script to parse email and store various parts in a database. It was a low priority; so I didn't get very far. If you'd like to look at it, I'll try to find it. I started with the maildir format for ease; because each email is in its own file. Andrew Gould _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
