alienscience / imapsrv

An IMAP server written in Go
BSD 3-Clause "New" or "Revised" License
48 stars 9 forks source link

LMTP support #29

Open EtienneBruines opened 9 years ago

EtienneBruines commented 9 years ago

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:

It would also be nice if we:

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.