I didn't actually write code to create Maildir files from scratch, technically.
I used 15-20 lines of Python to do that and to actually fetch the mail in
addition...
Mailbox consolidation isn't the only thing which this project I'm working on requires, but it's a big part of it. :)
Anyway, I really appreciate all the advice and help!
From: Stan Hoeppner stan@hardwarefreak.com To: dovecot@dovecot.org Sent: Thu, October 25, 2012 2:02:10 PM Subject: Re: [Dovecot] Creating Maildir and populating with emails via external Python process
On 10/25/2012 2:13 PM, Bradley Rintoul wrote:
Let's say someone has an account with Yahoo, for example. My Python code is
fetching email from the user's Yahoo! account and placing it into the Dovecot
Maildir storage for a particular user. Now when the user retrieves their mail,
they are doing so using my Dovecot - my Dovecot instance is acting as a proxy,
of sorts...
There are already a gazillion email services that do mailbox consolidation--the term for what you're attempting. Why are you reinventing the wheel? Must be a family and the dog project...
A quick browse of your Wordpress blog confirms such. It also explains why you wrote code to create maildir files from scratch. Only a programmer assumes that the first path to a solution is to write new code.
A system administrator on the other hand, most of us here, Google's for suitable FOSS, then looks in his distro repos for it, and builds from source if a package isn't available. We only script when out of Elmer's and duct tape. ;)
-- Stan