[Dovecot] Creating Maildir and populating with emails via external Python process

Stan Hoeppner stan at hardwarefreak.com
Thu Oct 25 21:37:50 EEST 2012


On 10/25/2012 1:01 PM, Bradley Rintoul wrote:

> the individual emails which the user 
> "receives" are actually downloaded and put into the Maildir "repository" using a 
> Python email client (POP3 client).

Tell us more about this.  This doesn't sound like 'normal' email being
fetched from an external service provider over a slow link scenario.
This sounds more like an application server generating data files that
are then POP'd down to the Dovecot server.  Assuming that for now...

If you're able to run a popd on this application server, why not run a
simple smtp MTA and send these files directly to the user email
addresses?  Injecting the payload is a pretty simply shell command line,
or from within a Python/Perl/etc script.  Dovecot handles the rest as it
arrives.  Problem solved.

The more you can do with smtp the better off you are and the easier it is.

-- 
Stan




More information about the dovecot mailing list