Show HN: A self-hosted email engine
mailcoach.app
mailcoach.app
Sendy does look like it has more features though - and it has been around for far longer, corner cases debugged and all. I’d love to hear how this is any different from Sendy.
I read the installation instructions of MailCoach and wonder whether this Composer thing is what I would use if I had a server that's not a DigitalOcean server, and whether this is something I can install without becoming a PHP wizard.
For a dev company, maybe even integrating it into one of their applications, great!
Sendy targets very much the former ones. I just assume MailCoach does, too, but I don't really know.
The real problems come when you try to use the SMTP gateway. It's quite slow and unreliable and doesn't really work for parallel workloads. The only way to somewhat mitigate it is to deploy a postfix into EC2 and then queue your emails there.
Ah, that's helpful to know. I would normally have wanted to use the SMTP gateway as a more portable API, to avoid tying things to Amazon-specific APIs. But it sounds like doing so would add substantial fragility.
Is there a way to try mailcoach without paying for it first? Is there an API to import users?
Edit for the downvoters— this is an honest question and I very much agree that we can never have too much high-quality self-hosted software. If that can be done with PHP I'm open-minded.
That said Node.js has IMO an interesting architecture because it's event driven, combine that with Typescript and it's solid.
Python type support, and event driven frameworks (e.g. async/await) were only (fairly) recently made accessible, there's a few frameworks that can utilize it well like FastAPI, but many of the popular ones like Django are still behind on async/await support for the a lot of features like the ORM and still is lacking typing support. IMO the python web development system is going to be really awesome once Django gets robust types and async support.
Disclaimer: Current job uses python/Django and js. I have little experience with other languages/frameworks.
It's fast. PHP has great documentation. PHP ecosystem is now based around Composer, in comparison to mess of package management in JavaScript and Python, Composer is just wonderful to use. Packagist has ton of libraries. Share nothing architecture is very easy to maintain and scale. You can do strict typing. There are static code analysis libraries like Psalm and PHPStan if you want features normally offered by compilers. It's easy to hire devs. There are two wonderful frameworks that moder PHP is centered around: Laravel and Symfony. There is also community body issuing standards to ease framework interoperability: https://www.php-fig.org/psr/
The app seems to be written in Laravel, so you can take a look here if it's your coup of tea: https://laravel.com/
Having said that, Wordpress and other old code bases are still a mess. But stable mess, and business like stable :) .
Is this the recommended practice now? Because that was the main reason to avoid PHP codebases for me. Having an app where any code execution bug instantly leads to permanent compromise scares me deeply.
> Your HTTP user must own the config/, data/, apps/ respectively the apps-external/ directories so that you can configure ownCloud, create, modify and delete your data files, and install apps via the ownCloud Web interface.
[0] https://doc.owncloud.org/server/10.4/admin_manual/installati...
I don't know ownCloud, but I would guess they have an option to disable plugin installation.
And as I said, if you feel paranoid, you can install PHP apps in docker container: https://doc.owncloud.org/server/10.4/admin_manual/installati...
What's wrong about it really?
If you're an author of an opensource web app, it's a smart choice to pick PHP to have as much audience as you could get. PHP is the primary candidate for any VPS.
And more like mailgun :
Both hosted and easy to use.
> It integrates with services like Amazon SES, Mailgun or Sendgrid to send out mailings
How is this going to "cut the costs" when you still have to pay the costs of SES/Mailgun/Sendgrid?
My user agent is:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
Google Chrome on Debian
Here is a screenshot: https://ibb.co/qsnrD2n
source: I bought it
That's the reason why stuff like Sendy[1] is so popular. You host your own interface, settings and so on, but the ugly part of sending your email is handled by AWS SES.
I have a mail server for personal use, and I send less than 10 mails per day for many years. DKIM, SPF, DMARC are all properly set up. I am signed up to all possible postmaster tools, including that of Google.
Still, Google started blocking mail sent from my IPv6 address in December. I switched to IPv4, and it fixed the issues for existing gmail recipients, but new recipients usually see my mail in Spam. When I don't get a reply for a few days, I mail them from my backup @gmail.com account and ask to unmark me as spam and add to contacts. So far, this helps.
P.S. I also run a community website on a different domain and IP. It sends tens of thousands of notification emails per month, and it fares better in Google Postmaster Tools. User-reported spam is within 1% and it seems that this is acceptable behaviour for Google.
Presumably people who actually care would not be on a free email service in the first place...
Does the IPv6 address have matching forward/reverse DNS?
- ensure your external IP reputation is good. Check blacklists.
- configure correct dns/reverse dns (PTR) records.
- setup SPF (maybe DKIM with DMARC but I'm not using these)
- do not spam.
Thats it.
First off, you don’t really have control over your external IP reputation, unless you have your own IP space, which most people don’t.
You’re at the mercy of your colo/hosting, really. You get whatever IP they give you, baggage included. I think the reputation is also subnet-based, not IP based, so your potential to be included in someone else’s blast radius is increased.
Also, even with a clean IP, the steps you outlined are not sufficient to send significant numbers of non-spam messages and not get spamboxed. Gmail seems to be mostly okay with erring on the side of false positives.
Source: been running my own email servers for 25 years
(btw my mails also seem to get through and i haven't even set up DKIM)
Plenty of people report that there is a minimum amount of email you have to send so that you can contact gmail and ask them to unlock you. They, of course have a set of rules you have to follow.
But you won't get them to receive your email if you just send some 3 messages a week.
but yeah, it'll be used to spam people about your "latest offerings" and "great new features" and...