imapsrv icon indicating copy to clipboard operation
imapsrv copied to clipboard

LMTP support

Open EtienneBruines opened this issue 9 years ago • 0 comments

In order to get e-mails we can actually serve to client using the IMAP protocol, we should receive e-mail from the SMTP server.

I have seen Postfix (a SMTP server) use LMTP over Unix Sockets to do this. Listening to unix sockets is as easy as listening to ports (don't know about portability?), but it requires us to implement RFC 2033.

According to that RFC, we:

  • [ ] Have to implement the basic features of LMTP
  • [ ] MUST support Pipelining (RFC 2920),
  • [ ] MUST support Enhanced Statuscodes (RFC 2034),
  • [ ] SHOULD support 8-bit-MIME (RFC 1652).

It would also be nice if we:

  • [x] Allowed it to listen to unix sockets
  • [x] Allowed it to listen for TCP connections

I have not seen the additional RFCs mentioned in the IMAP protocol specification (RFC 3501), so I don't think we have to write with code re-use in mind.

Any thoughts / suggestions are welcome. As having e-mail is required for having a MVP, I think version 0.1 would be a nice milestone.

EtienneBruines avatar Jun 28 '15 15:06 EtienneBruines