I started hosting my own email server with stalwart and my dkim dmarc spf etc is all configurrd right but i get sent to spam with all the major providers so any tips to improve ip reputation?
I think the main thing to do is, go to the usual blocklists and make sure to remove your IP there, in case the previous owner of the IP address got listed as a spammer. Other than that I’m afraid there isn’t much you can do. Test your server with the free email server checkers and make sure you score 10/10. But other email servers will likely also calculate an overall score for your internet service provider’s address range. Depending on what other customers do. It’ll also penalize you if you’re on a residential internet connection or one of the spammy cloud providers.
Prefer IPv6 for delivery.
There’s a postfix smtp_address_preference flag for it. The blocklists over IPv6 are very much smaller.
Also, register your IP address to be excluded on spamhaus. It’s free, and it’s something that has to be done annually. MXtoolbox lists blocklists that charge money for removal from their list (UCEProtect in particular). They’re scams and absolutely nobody uses their lists.
This is my home IP address check on MXToolbox. It’s fine. There are only 4 providers that even implement a v6 list.

Gmail and outlook both support v6 delivery, and that’s a decent chunk of it these days.
I also signed up for a static IP from my ISP. With that, I could get a PTR DNS record as well.
Have to tested with something like mxtoolbox to check if IP is the issue?
Also, others frequently mention that residential IPs are often blocked as most email sent from residential IPs is spam ftom botnets. Are you running at home or on a VPS?
I will look into mxtoolbox stuff thanks!
That’s a good start. But even when all tests pass you can still have troubles with delivering mail. What helps further is to let Google and Microsoft manually know about your mailserver. They once had at least a form to do so some 10ish years ago. But you kinda have to remind them once in a while, it’s shitty. The “big ones” just don’t play fair.
That’s why I kinda gave up and configured a smarthost in the end. But your send mail hops through external nodes anyway, as long as there’s transport security it does not matter for me personally that there’s one hop more. Theoretically you could also configure your mailserver to only send to Google and Microsoft via the smarthost and send the rest normally, but I could not be bothered.
As many people say that they do and did not have those problems I described, I feel it’s not only about residential IP, but also about, idk, having a US vs. rest-of-the-world IP or such…anyway, YMMV is all I am saying, I wish you good luck 🙏
yah, mxtoolbox has all types of neat checks and useful information. Good suggestion.
Question, is it possible for the IP to be ipv6 or does it have to be 4?
See my other comment. You’ll have a much better time on v6.
For what purpose? A mail server doesn’t care about 4 or 6 (assuming it supports the one you’re trying to use).
Of course, the remote server will also have to use a 4 or 6 address, or some form of translation layer.
Thank you!
For your current IP address, not really, the only way is to gain trust by sending mail that gets marked as not spam. Else, see the other comments.
only other suggestion is to check your PTR record (reverse dns) and make sure that the domain matches the mail server name
Not many providers will drop you for a missing PTR. I’ve ran without it for most of a decade and not had an issue.
Get a better IP address.
A port reflector service would work.
A secure email gateway service would also work and also helps deal with spam.
My home PC sends via Mailgun for transactional mail and something like that might work for half-self-hosted email too. But one thing I learnt doing this is that the originating IP is passed on. I had mine through a VPN, and didn’t realise Mailgun passes my IP through to the receiving mail server. So I had emails getting rejected when the VPN IP was passed to the end mail server.
Took a lot of sending test emails and reading headers to work that one out. But I mention this because I’m curious to know of sending via a service like this can build up reputation for your IP, so that eventually you’ll get a good reputation and be able to send without it?
I guess reputation is not some universal thing anyway so different mail providers may handle it differently.



