News for hackers. Stuff that matters.
Re:Mailin – Receive inbound emails in your web app with Node.js by randunel on Saturday June 07, 2014 @07:20PM (#7863428)
This project looks like a wrapper over andris9/simplesmtp, and should be advertised as such instead of a smtp implementation. Check out https://github.com/baudehlo/Haraka for a mature smtp project instead of a wrapper.
Re:Mailin – Receive inbound emails in your web app with Node.js by eyepulp on Saturday June 07, 2014 @11:54PM (#7863923)
I'll second the vote for Haraka. Good support via IRC, and a very strong, accessible plugin architecture. I like the basic mechanism Mailin is providing (convert e-mail to a semi-structured doc) - I just don't know their smtp wrapper's reliability. It's tempting to just build a Haraka plugin to provide a similar output (and feed it to Elasticsearch for logging/searching later on).

Reading through the source it looks like it spawns a child_process per-message to for checking both SPF and DKIM via a python script... That feels inefficient, but I don't know if there's a better node-based solution.

Re:Mailin – Receive inbound emails in your web app with Node.js by Flolagale on Sunday June 08, 2014 @05:42AM (#7864330)
The main objective of mailin is providing the service email-to-webhook with a very easy setup. You're right, for the spawned child processes, the correct way to do it while still using python would be to have some running daemons to connect to.
Re:Mailin – Receive inbound emails in your web app with Node.js by stevekemp on Sunday June 08, 2014 @12:20PM (#7865039)
I'll "third" the recommendation.

I once managed a commercial mail filtering company on the perl-predecessor, qpsmtpd, which I documented here:

http://book.mail-scanning.com/

Re:Mailin – Receive inbound emails in your web app with Node.js by Flolagale on Sunday June 08, 2014 @05:36AM (#7864325)
You're right, and it is clearly stated in the readme that mailin is based on andris9 work.