Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Chaos Monkey-like Feature in Mailpit #144

Closed
endelwar opened this issue Jul 17, 2023 · 3 comments
Closed

Request for Chaos Monkey-like Feature in Mailpit #144

endelwar opened this issue Jul 17, 2023 · 3 comments
Labels

Comments

@endelwar
Copy link

I recently migrated from MailHog to Mailpit and I've been missing a particular feature called "Jim the Chaos Monkey" that is available in MailHog. Jim allows for the testing of unexpected behaviors in applications by randomly triggering various actions within defined parameters. I believe implementing a similar Chaos Monkey-like feature in Mailpit would greatly enhance its testing capabilities.

Feature Request Details:
Jim the Chaos Monkey performs the following actions randomly, but within specified parameters:

  • Reject connections
  • Rate limit connections
  • Reject authentication
  • Reject senders
  • Reject recipients

These actions are valuable for testing the resilience and fault tolerance of applications. By simulating unexpected scenarios, developers can proactively identify and address potential issues before they cause problems in production.

I kindly request the implementation of a Chaos Monkey-like feature in Mailpit with similar functionalities to Jim. This addition would significantly improve the testing capabilities of the application and allow for more robust and reliable email delivery.

Thank you for considering this feature request. Please let me know if you require any additional information or clarification.

Link to the original MailHog's Jim documentation: Jim the Chaos Monkey

@axllent
Copy link
Owner

axllent commented Jul 17, 2023

This has been discussed in #110 with a proposed alternative approach, however I did not get any response to my technical questions so the issue became stale and got automatically closed. The problem here is that I believe there is only a very small number of users who want/use this solution, it requires a lot of work to implement, and if it got implemented it wouldn't do everything on your list. Mailhog uses a complete custom implementation of the SMTP "server" which gives it much more control over things like rate limiting as well as rejection, but this also makes Mailhog's SMTP much slower, and (I don't believe) entirely compliant. I chose not to reinvent the wheel and use an existing SMTP solution, and speed.

My proposal in #110 was the ability to manually turn on/off some forms of rejection (though not everything you listed) instead of randomly. It is still complicated though, so very low on my priority list. Please have a look at the previous issue I mentioned, and let me know what you think?

@github-actions
Copy link

github-actions bot commented Aug 8, 2023

This issue is stale because it has been open for 21 days with no activity.

@github-actions github-actions bot added the stale label Aug 8, 2023
@github-actions
Copy link

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants