[Dovecot] deliver as LMTP server?

Barry Warsaw barry at python.org
Fri Jan 5 17:18:37 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Jan 5, 2007, at 12:07 PM, Leonardo Lanzi wrote:

> there is at least one interested in.
> Last days of November, I was searching some hints for an LMTP server,
> able to deliver like dovecot lda:
> http://www.dovecot.org/list/dovecot/2006-November/017848.html
> http://www.dovecot.org/list/dovecot/2006-November/017850.html
> http://www.dovecot.org/list/dovecot/2006-November/017854.html
>
> As you can see, I've to setup a similar environment; in particular,  
> the
> need of an lmtp server comes from hundreds of mailing-lists.
> Now I'm working only on a small lmtp server in C [not using inetd or
> similar like the one from pll] and calling deliver for each good mail,
> but it would be very interesting for my work trying also something
> different, and better.

Hi Leonardo,

One question I have is what deliver actually does over and above just  
dropping the message in the right maildir.  Depending on that answer,  
what I'd try to do would be to recreate that functionality in Python,  
either by implementing it in straight Python or by wrapping enough of  
the deliver code in a Python extension module.  The idea being, the  
external machine's Postfix connects to the internal machine's Python- 
based LMTP server, and the latter does whatever it is to make Dovecot  
happy then puts the file in the maildir.  That way you don't have to  
run a full blown Postfix on the internal machine.

Other than supporting the Dovecot-specific extra magic that deliver  
performs, I'd say the rest of the code is 99% there.

- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iQCVAwUBRZ6IbXEjvBPtnXfVAQLOTgP/aoh6A6Iw8E2BzoDlC3BuD/heVawGGsux
octYcDZJZYQ+KYQ34JCsNxYNjzJFxcMV8v6tH9+as3bptE4WxjzoqnSt1bGNKmir
+y3dj5pSRPSs+zGaU3xENFFnUAzPDh6SxFknRFW6+0zGgeQWdNOZsHU2uO2A63C8
I8Bx+r01Op0=
=N7GM
-----END PGP SIGNATURE-----


More information about the dovecot mailing list