I am looking in to writing some scripts helping me archive old email etc and having a hard time finding some information about how to read the mbox (yes I know maildir is better/easier but for the moment that is not an option). How do I go in and delete an email in a mbox without corrupting anything? I have understood that what I can do is copy the mbox, modify it and then copy it back but is that the best thing to do? Regards, juman