[HN Gopher] Show HN: A fake SMTP server for software integration...
___________________________________________________________________
Show HN: A fake SMTP server for software integration testing
This is a side project of mine. Use this as your SMTP server in a
test environment to guarantee that your users don't receive test
emails. Looking for feedback, especially on the security side.
Author : aeaa3
Score : 39 points
Date : 2024-07-21 11:37 UTC (11 hours ago)
(HTM) web link (fakemail.stream)
(TXT) w3m dump (fakemail.stream)
| atum47 wrote:
| Down for me
| TomasEkeli wrote:
| hugged to death?
|
| anyway - i got a great 429 back with a suggested try-after -time.
| it made me smile in appreciation!
|
| well done!
| theginger wrote:
| That's the wrong status code
|
| The HTTP 429 Too Many Requests response status code indicates
| the user has sent too many requests in a given amount of time
| ("rate limiting").
|
| Unless the server believes you as an individual user were
| sending too many it should not have been a 429 If the server
| was unable to handle the volume of requests more generally it
| should have been a 503 which also supports Retry-After
| aeaa3 wrote:
| The 429 response is sent when rate-limiting (based on IP
| address).
|
| Either something is wrong with my rate-limiting code or there
| are many people behind a single IP address.
|
| Anyway the limits are increased now.
| duskwuff wrote:
| I prefer self-hosting MailHog:
|
| https://github.com/mailhog/MailHog
| keithnz wrote:
| there's a few of them out there, I use Papercut
| https://github.com/ChangemakerStudios/Papercut-SMTP
| sdoering wrote:
| From the Mailpit README:
|
| > Mailpit was originally inspired by MailHog which is no longer
| maintained and hasn't seen active development or security
| updates for a few years now.
| ramon156 wrote:
| Curious as to why it would need updates.
|
| Security updates sure, but what really needs to update on an
| STMP (+ TLS?) solution?
| abound wrote:
| I recently came across MailSlurper [1], which I think serves a
| similar use case.
|
| [1] https://github.com/mailslurper/mailslurper
| politelemon wrote:
| Since it seems to be overwhelmed currently, I'd suggest letting
| users host their own version of this in their own networks.
| snikch wrote:
| I have used tools like these for nearly a decade and find them
| invaluable. My current favourite is Mailpit [1].
|
| The "OG" I would consider Mailcatcher [2] from my Rails days
|
| [1] https://github.com/axllent/mailpit
|
| [2] https://mailcatcher.me/
| aeaa3 wrote:
| This is all open source by the way, and can be self-hosted. All
| the code is at https://github.com/aled/fakemail.
| jallmann wrote:
| Also built something very similar - https://ephemeralpostal.com
|
| Comes with a small API so your integration tests can actually
| check the contents of emails that were expected to be sent out.
| Did a Show HN a while ago with more details -
| https://news.ycombinator.com/item?id=40590670
___________________________________________________________________
(page generated 2024-07-21 23:07 UTC)