mox
mock
mox | mock | |
---|---|---|
20 | 2 | |
3,308 | 634 | |
- | - | |
9.7 | 4.3 | |
about 1 month ago | 4 months ago | |
Go | Elixir | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mox
-
Ask HN: Are you aware of a sane path to selfhosted email server?
I've been really impressed with Mox, an all-in-one monolithinc mail system written in go: https://www.xmox.nl
Trivial to setup, guides you through configuring: SPF, DKIM, DMARC, MTA-STS, DANE, DNSSEC. Handles certificates by itself through ACME, comes out-of-the-box with IP/domain reputation based and bayesian spam filtering.
While I've come to appreciate how much tweaking you can do with something like exim I'm starting to see the advantage of not having to spend time doing any of that :)
Mox also has some really cool (and AFAICT) novel features. Have a look at the "Rejects" mailbox, or the nuanced way it rejects spam at SMTP time to prevent the dilemma between causing backscatter or potentially dropping mails (like gmail likes to do). I've also never heard of REQUIRETLS before seeing it exposed right there in Mox's built-in webmail.
-
Stalwart mail server (self-hosted all-in-one mail server) now as an admin webui
It's interesting how there is now
* Maddy: https://github.com/foxcpp/maddy
* Mox: https://github.com/mjl-/mox
* and Stalwart
which all see to aim for more or less the same niche. I wonder if we'll see two of those merge eventually.
- Mox β open-source, modern, secure, all-in-one email server
- Mox β modern, secure, all-in-one email server
-
Trap and test AWS SES emails locally
Pitching my own: https://github.com/mjl-/mox has a "mox localserve" subcommand that runs a mail server on localhost for testing, including a pedantic mode and special addresses that cause failure conditions you may want to test for. This is actually a full mail server (SMTP, IMAP and much more) and it comes with a webmail client. The "localserve" mode was just so easy to implement that I couldn't resist.
-
You Can't Trust Google
Just run your own mail server on a Pi at home and get your ISP to set up a PTR record for you, assuming you are on a static IP. Mox is good and outputs all of the instructions for DNS etc.:
https://github.com/mjl-/mox
-
Warm up a mail server
I have setup a mail server (thank you mox ) hosted on VPS in Linode and everything seems fine: no issue on SPF, DMARC, DKIM records, the reputation of the domain and of the IP is okay and the IP is not in any blacklist. Unfortunately, Google and MS are rejecting my emails, even if I added the DNS records that they asked to add in order validate my domain.
- Mox - modern full-featured open source secure mail server for low-maintenance self-hosted email
- Show HN: Mox - Modern full-featured low-maintenance self-hosted mail server
mock
-
An Introduction to Mocking Tools for Elixir
It also maintains separate mocks for each process, so you can continue using async tests. Itβs a great alternative to Mock β but that also means the same caveat applies: be careful about what you mock.
-
How to ignore a child of a Supervisor not being able to start during tests?
In order to do this you may use mock (which is simple to use), mox (they have pretty compelling arguments why not to mock traditionally), or specifically for http requests, bypass.
What are some alternatives?
ExVCR - HTTP request/response recording library for elixir, inspired by VCR.
mox - Mocks and explicit contracts in Elixir
Mailu - Insular email distribution - mail server as Docker images
meck - A mocking library for Erlang
ex_machina - Create test data for Elixir applications
Stubr - Stubr is a set of functions helping people to create stubs and spies in Elixir.
ignorant - ignorant allows you to check if a phone number is used on different sites like snapchat, instagram.
amrita - A polite, well mannered and thoroughly upstanding testing framework for Elixir
ecto_it - Ecto plugin with default configuration for repos for testing different ecto plugins with databases
ElixirMock - Creates clean, concurrent, inspectable mocks from elixir modules