Playing with Gmail

Been doing a little playing around with Gmail and regexes of late. A few things to note: (a) fetchmail is great, (b) if you want to backup your entire gmail account on Windows, this Life Hacker Guide is great but be sure to read the comment about port 995, (c) Google appears to only allow a certain number of pop messages to be fetched per connection, meaning you'll have to rerun fetchmail a bunch -- I don't think this is an error in how fetchmail is set up, (d) if you are looking for a good way of stripping attachments, try mboxscrub.pl from O'Reilly (though likely you'll need to modify the regex for the beginning of a new message (in the elsif condition), I think "/^From /" without the trailing dash is correct. It is amazing how much poorly structured data is in a few years worth of email.

No comments: