Really recommend this, it's very useful to us at work for capturing email from local dev environments for email testing - we run it as part of our dockerised dev setup. Means we don't have to worry about ever accidentally hitting real mail systems, while still letting us actually exercise our email sending code.<p>Also makes it very easy to see rendered HTML, HTML source, the text/plain part of a mailer, etc.<p>And as an excellent plus, the author is responsive to reasonable PRs!
I’ve been using Ethereal [1] for ages. It works great and has an API. Also totally free.<p>Downside:<p>- it’s hosted, which may not be for everyone if your test emails contain sensitive information. Altho I think it never should.<p>- it sometimes is down<p>- it requires an internet connection<p>[1] <a href="https://ethereal.email/" rel="nofollow noreferrer">https://ethereal.email/</a>
This looks very useful. In the past I've used smtp-sink which is part of Postfix-(stone) and logs to syslog but having a web interface that shows attachments is a big improvement over the smtp-sink method. I could see also using this to replace my SMTP tarpits <i>which are just Postfix logging to single text files per node</i>. I could envision a few other unorthodox uses for this as well.<p>With an <i>optional installation step</i> this could run on port 25 as a regular person. Or authbind [1]<p><pre><code> setcap cap_net_bind_service=+ep /path/to/mailpit
</code></pre>
[1] - <a href="https://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-on-linux" rel="nofollow noreferrer">https://stackoverflow.com/questions/413807/is-there-a-way-fo...</a>
I have used FakeSMTP a long time ago, and it seems like it's still around. This one comes as a single jar.<p><a href="http://nilhcem.com/FakeSMTP/" rel="nofollow noreferrer">http://nilhcem.com/FakeSMTP/</a>
At work we use AWS’s Simple Email Service to dump all emails to S3 buckets that expire after a few days. It’s nice if you need to very that emails are working correctly in end-to-end tests.
is there some foss email inbound software that can take email "in" using wildcards or restricted email ids and dumps the same into a DB?<p>i have to apply regex to the email body and other stuff and keep only the relevant bit .<p>i see the managed softwares but i want something on my own vps.