| ▲ | radiospiel 7 hours ago | |
An interesting combination of features. Personally, I have used nullmailer in the past to provide a sendmail compatible local install that immediately forwards email to the SMTP server of my choice. Has worked flawlessly. Obviously, that doesn't come with HTML form support, but then I am also not sure I would like the same binary to handle both a HTTP(S) endpoint and email submission :) | ||
| ▲ | craigmccaskill 6 hours ago | parent | next [-] | |
Nullmailer's a good call for a single-app use case. It's basically what I was doing. Posthorn ended up the way it did because I had three different things all hitting Resend at the same time: a contact form, a couple of apps that only had SMTP email support and some scripts I wanted to email results from. I didn't want to have to maintain three different things doing functionally the same routing. Putting them in one binary helped me consolidate credentials and logs. You're not wrong about the split though, I thought about breaking the two out. I'd originally written the http form handler as a caddy module (which I called caddy-formward to be cute) but ultimately I went the other way because the code after the ingress is the same regardless of how you come into the service and I didn't want to rewrite all that logic. Have you encountered a similar issue with multiple apps where nullmailer hasn't been enough? Curious how you handled it if so. | ||
| ▲ | 7 hours ago | parent | prev [-] | |
| [deleted] | ||