I am new to virtualmin and I need help figuring out how to fix this problem. I have been trying to find help by searching google but I couldn't seen to understand the stuff on there. I hope someone out there can help a newbie like me.
So my main problem is I can't send email out but I can receive emails with no problem. This is the error I am getting.
Reporting-MTA: dns; ns1.virtualgeneralistservices.xyz X-Postfix-Queue-ID: 526DB1CE0DA6 X-Postfix-Sender: rfc822; email@example.com Arrival-Date: Fri, 7 Jun 2019 18:20:27 -0400 (EDT)
Final-Recipient: rfc822; firstname.lastname@example.org Original-Recipient: rfc822;email@example.com Action: failed Status: 5.7.1 Remote-MTA: dns; live-com.olc.protection.outlook.com Diagnostic-Code: smtp; 550 5.7.1 Service unavailable, Client host [220.127.116.11] blocked using Spamhaus. To request removal from this list see https://www.spamhaus.org/query/ip/[18.104.22.168] (AS3130). [AM5EUR03FT060.eop-EUR03.prod.protection.outlook.com]
Any ideas how to fix this please? Many thanks!
The error you're seeing is this here:
Service unavailable, Client host [22.214.171.124] blocked using Spamhaus.
That indicates that your server's IP is listed in a blacklist, likely because it's on a residential, dynamic IP address.
There's details about that here:
If that's not a dynamic IP though you can follow the procedure described above to get the IP address delisted.
Thanks Eric and yes it is indeed a residential dynamic IP. So does this mean I cannot run an email in my home webserver?
It is best to go to your home internet service provider and apply to have a static ip address assigned to your residence.
If you are using a wifi/wireless home internet connection instead of landline, you may have to go on a business plan in order to achieve that as quite often "non business" wireless internet plans do not offer static ip address to private individuals.
Here in Australia a static ip address on landline costs me about $10/month...not sure what other country ISP's charge.
Once you have a home/office static ip address, i think this error will go away automatically.
Also, dont forget to ensure that with your current configuration you have correctly setup your reverse ptr records at domain registrar or on your DNS server (if you are using Webmin/Virtualmin server as SOA)
I use mxtoolbox in order to generate SPF and _DMARC records. Sometimes the _DMARC generator is difficult to find so google search "mxtoolbox DMARC generator" and the url will come up for you on their website.
This will help with spamhause blacklisting.