Closed abravalheri closed 3 years ago
Thank you very much for the review @seriyps.
This is also the first time I am working with LMTP, so I am not that experienced either. What I did was to follow RFC2033 and the recommendations of @Elemecca / @Shemeikka on #196. Maybe they have a bit more experience and could also have a look?
To increase my confidence with the code, I did implement a quick experiment using OpenSMTPD to deliver local emails via LMTP to gen_smtp.
Merged! Thanks @abravalheri @mworrell
Hello,
I would like to thank the maintainers for the amazing work and propose this PR as my attempt to add support for LMTP. This feature was requested in #196, and is something I find very appropriate, mainly because of the following reasons:
The implementation I attempted follow more or less the guidelines stablished in #196 and any suggestions for improvement are welcome (in fact this is my very first time writing something in Erlang, so still learning...).
I have also implemented a proof of concept/integration test using OpenSMTPD and docker in https://github.com/abravalheri/lmtp_poc, and things seem to work fine.
Unfortunately I was not able to think in an easy solution for optimising the separation of concerns without requiring duplication of code, but if the maintainers have any ideas and would like to guide me in the process, I am open to go through more iterations of this PR.