[Dovecot] Creating Maildir and populating with emails via external Python process
Bradley Rintoul
brintoul at sbcglobal.net
Fri Oct 26 01:02:05 EEST 2012
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 at hardwarefreak.com>
To: dovecot at 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
More information about the dovecot
mailing list