My server IP is always being blocked by spamhaus

Discussion of non-phpBB related topics with other phpBB.com users.
Forum rules
General Discussion is a bonus forum for discussion of non-phpBB related topics with other phpBB.com users. All site rules apply.
KYPREO
Registered User
Posts: 392
Joined: Fri Feb 02, 2018 9:56 am

Re: My server IP is always being blocked by spamhaus

Post by KYPREO »

I wouldn't have thought lack of DMARC alone is enough to get you blacklisted. This is a newer higher standard of verification.

Do you have SPF or DKIM set up? That should be the first step before DMARC.

Is there a MX entry in your DNS matching the name of your mail server?

Have you done a reverse DNS check on your mail server? If a reverse DNS check on the origin IP of sent emails does not match the fully qualified domain of your mail server, this will be sure to trigger your emails as spam.
KYPREO
Registered User
Posts: 392
Joined: Fri Feb 02, 2018 9:56 am

Re: My server IP is always being blocked by spamhaus

Post by KYPREO »

PS you can use this tool of ths previously listed tester does not work for you: https://mxtoolbox.com/SuperTool.aspx (select the Test Email Server option and Email Deliverability option)
User avatar
WelshPaul
Registered User
Posts: 420
Joined: Tue Aug 19, 2014 2:09 pm

Re: My server IP is always being blocked by spamhaus

Post by WelshPaul »

Lumpy Burgertushie wrote: Sat Feb 01, 2020 2:02 amhowever, that is something that the host should have found the first time you asked them for help.
Not unless you have a shared hosting plan or managed VPS/Dedicated server.

If you get a VPS or Dedicated server then the onus is on you to set it up and configure it correctly and the majority of hosts won't entertain such support requests.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6286
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: My server IP is always being blocked by spamhaus

Post by thecoalman »

</Solidjeuh> wrote: Mon Feb 03, 2020 2:22 am Today it was blocked again :(

I doubted DMARC was the issue. SPF, DKIM and last but least DMARC can help keep email from going to the recipients spam box. It shouldn't cause it to get blocked let alone the IP getting blocked.

This was a new IP they issued you?

You said this was VPS, is it a WHM control panel? There is section in there under email that logs incoming and outgoing email. You may want to look to see if there is a bunch of unusual activity. If you are using any other software or scripts double check them.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm

Re: My server IP is always being blocked by spamhaus

Post by </Solidjeuh> »

They investigated this a bit further. My "_DMARC" was good now, but I was still missing a "SPF record". They see no more errors, and should be okay now.
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6286
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: My server IP is always being blocked by spamhaus

Post by thecoalman »

Like I said the SPF record is good for keeping emails out spam box, unless things have changed and they are clamping down I doubt it's causing the IP to be blocked. Most sites don't have one because it's really the site owner that needs to set it up. The host can't really set this up because if for example you were using external email service this can screw you up, and incorrect SPF record is worse than no record.

By all means set it up but make sure it's right. If you are using WHM email can be sent through "main" IP or if you have second IP through that. You need to make sure it's the right IP. This is what i have been using

Code: Select all

v=spf1 mx ip4:123.123.123.123 mx:the.domain.com -all
The domain can be different that the domain, e.g, example above with WHM server. If the you are seding through main IP it;s going to be the hostname. The IP is the IP sending the email. -all is probably not what they are using but you should use it.
https://www.dmarcanalyzer.com/spf/how-t ... xt-record/
-all Fail – servers that aren’t listed in the SPF record are not authorized to send email (not compliant emails will be rejected).
~all Softfail – If the email is received from a server that isn’t listed, the email will be marked as a soft fail (emails will be accepted but marked).
+all We strongly recommend not to use this option, this tag allows any server to send email from your domain
One other thing check the Return-Path in the header of sent email, if it's not the board email under emails settings set Force from email address: to yes.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
</Solidjeuh>
Registered User
Posts: 1788
Joined: Tue Mar 29, 2016 3:45 am
Location: Aalst (Belgium)
Name: Andy Dm

Re: My server IP is always being blocked by spamhaus

Post by </Solidjeuh> »

Thank you all for the help!
@thecoalman, I'm using PLESK, so this should be okay?
v=spf1 mx ip4:46.228.199.52 mx:supportforum.be -all No need to add IP6 ?
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6286
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: My server IP is always being blocked by spamhaus

Post by thecoalman »

Look at an email header and make sure the domain is correct, in my case since it's sent through the "main" IP it's actually the hostname. Use one of the email testers to confirm it's right. This is not something you want to screw up because it will cause emails to bounce especially with the -all.

I've been using that for years now and AFAIK I do not have any trouble with email delivery, they go to inbox. If you have the DMARC setup you'll get reports on it, you might want to look at them initially.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
mxp1l0t
Registered User
Posts: 12
Joined: Sun Dec 12, 2004 7:01 pm

Re: My server IP is always being blocked by spamhaus

Post by mxp1l0t »

Check out this link for information:

https://www.spamhaus.com/resource-cente ... -going-on/
User avatar
GTI
Registered User
Posts: 300
Joined: Mon Aug 24, 2020 4:59 pm
Location: West Sussex
Name: Laura

Re: My server IP is always being blocked by spamhaus

Post by GTI »

This has become a regular thing on several phpBB forums in the past few months.

I have seen the following 2 suggestions on here lately...
  • One suggested someone uses a VPN to avoid the problem.
  • The other suggested someone types their message into notepad and then copies and pastes it into phpBB to post it.

If I start expecting my forum members to use VPN's or start writing their message elsewhere and copying it into phpBB my forum will die, that's to much to ask of members, nobody should have to stuff like that to be able to post a message on a forum.


Some forums are losing members because of this as when a member goes to sign up, he gets a message saying he's a spammer, his IP is then blocked which means he is unable to use the contact link and is unable to contact the forum administrator.
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3885
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay

Re: My server IP is always being blocked by spamhaus

Post by Kailey »

What does any of that have to do with a SERVER IP being blacklisted?
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules
If you have any questions about the rules/customs of this website, feel free to send me a PM.

My little corner of the world | Administrator @ phpBB Modders
User avatar
GTI
Registered User
Posts: 300
Joined: Mon Aug 24, 2020 4:59 pm
Location: West Sussex
Name: Laura

Re: My server IP is always being blocked by spamhaus

Post by GTI »

Kailey wrote: Mon Oct 17, 2022 2:09 pm What does any of that have to do with a SERVER IP being blacklisted?
It's the fact that spamhaus is causing issues with phpBB in more ways than one.
Things affected so far are the receiving of mails and also some new members are being listed as spammers and blocked from accessing the site.
User avatar
[Dimetrodon]
Registered User
Posts: 462
Joined: Tue Aug 30, 2022 3:29 am
Location: Paleozoic Era

Re: My server IP is always being blocked by spamhaus

Post by [Dimetrodon] »

Is attempting to use spamhaus even a requirement to keep your phpBB board clean from spam? It is probably better to use the moderation queue or the authorized for urls extension. Good questions and anti-spam measures would surely keep most of it out anyway.

Return to “General Discussion”