Yeah, I know, you don’t think it’ll work and don’t support it:
[Can I run my Mail-in-a-Box at home?]
No. Computers on most residential networks are blocked from sending mail both on the sending end (e.g. your ISP blocking port 25) and on the receiving end (by blacklists because residential computers are all too often hijacked to send spam. Your home IP address is also probably dynamic and lacks configurable “reverse DNS.” If any of these apply to you, you’ll need to use a virtual machine in the cloud.
But bear with me. Folk do run mailservers from home successfully. Google it if you like. Now I admit I have tried and failed, but I’m seriously short of time, and overcommitted so it’s on the try-again list.
Given you’ve ruled it out I imagine you’ve tried or have a handle on the problems. I had one working 90% for a bit, basically worked fine, but had some trust issues delivering to gmail targets. So slated reading up on DKIM and more before hitting it again.
But if you’ve tried I’m especially keen to hear why this concerns you:
configurable “reverse DNS.”
as in what you mean by it and what you need it for. I’m guessing you mean this sort of thing:
which does fail in IPv4 dynamic pools but:
- I have no idea why that’s needed on a mailserver. And I’d appreciate learning here.
- It’s not everyone’s situation at home, it’s easy enough to buy a static IP and might even come cheaper than renting space on a server farm and come with more control.
- Ipv6 is on the way (at a glacial rate but sliding down the ol’ valley) and static IPv6 addresses are likely to be fairly common if not universal.
As to port 25, my ISP doesn’t block it. And nor is my (current IP) nor any of my domain names on the black list you shared (spamhaus dot org). But yes it is a landscape to navigate and trust building is key. There is an historic issue with home systems hijacked for spam sending yes, but they have (as good as never) never been home mail servers (who has those historically?), rather, mail clients and hijacking on a home network run by anyone wanting to host a mailserver is no more likely to be hijacked than any of the big sites out there. I mean firewalls are solid and standard, and the hurdles you need to jump to get an outbound mail trusted pretty high nowadays. But I’m no spam researcher and can’t be sure. I do imagine it pumping out of dedicated sites in Russia, China, the US and a few other places though that do the IP/DNS dance in much way bittorent sites have to of late, and hijacked home (Windows) PCs and mail clients.
This of course:
Can I modify my box after / use my box for something else too? (Advanced.)
No. Mail-in-a-Box must be installed on a fresh machine that will be dedicated to Mail-in-a-Box, and you cannot modify the box after installation (configuration changes will get overwritten by the box’s self-management). If you are looking for something more advanced, try iRedMail, Sovereign, or Modoboa.
Does suggest trying modoboa (among others, iRedMail is pricey, and soverign demands ansible) and thanks for that, it looks pretty darn good too.
This puzzles me too:
How will this affect my website? (Advanced.)
If your website is just HTML pages and static files, you can copy it onto your Mail-in-a-Box for a really simple hosting solution. If you have a website already, be aware that your Mail-in-a-Box wants to take over your DNS so that it can configure it correctly for email, and we recommend you let the box do that, but you can configure the DNS to keep your website on another machine. You may also need to configure relaying for outbound transactional email.
What do you mean by that? I’m just curious. For example I have a DNS:
Running on an OpenWRT router/gateway. How can MIAB reconfigure it. But that’s just the local resolver the root DNS for my domain names is provided by namecheap dot com and again that could have been godaddy or any other popular name provider. And I need to set up MX records there indeed but how does MAIB do that?
Forgive the naiviete. I’m blown away at how simple and cool MAIB looks to be and might even try it, bar that I am building it at home not on a server farm and I don’t understand how it’s going to try and configure things that lack standards (unless there are standards there?).
Anyhow, love what I see. May or may not benefit from it or modoboa may have won a customer thanks to your reference. Sure is a lot of cool stuff out there.