Server having problems sending out emails.

neptronix

Administrator
Staff member
Joined
Jun 15, 2010
Messages
17,538
Location
Utah, USA
Our server is having issues sending out emails for new signups, private messages, etc.
For one reason or another, gmail is not having problem receiving email from us, but other services are.
This is known about and being worked on as we speak.
 
Okay, not having success. downloading a virtual machine copy of ES because the process for debugging this will interrupt all of you on the main server.

If i do not have success then we i am going to push all other clients aside and expedite the move to xenforo. I suspect the issue is with the phpbb platform itself being behind the curve in how it sends out email.
 
kauaicycler said:
I think you said your hosting is with Cloudfare.
Looked here https://hostingchecker.com/
See:

endless-sphere.com

It is hosted by: Amazon.com, Inc.

WHOIS information: Click here

Organization name: AWS EC2 (us-west-2)

IP address: 44.225.224.39

AS(autonomous system) number and organization: AS16509 Amazon.com, Inc.

AS name: AMAZON-02

Reverse DNS of the IP: ec2-44-225-224-39.us-west-2.compute.amazonaws.com

City: Portland

Country: United States
 
I'm receiving email but I use gmail. I don't know if this will help or if the problem is fixed but this was in my mail header.

spf=fail (google.com: domain of 0101017b489dbc5e-ab730cba-ea53-4c08-8dd6-a3c8d3ef8bd5-000000@us-west-2.amazonses.com does not designate 2600:1901:101::1 as permitted sender) smtp.mailfrom=0101017b489dbc5e-ab730cba-ea53-4c08-8dd6-a3c8d3ef8bd5-000000@us-west-2.amazonses.com;
 
Thanks for the note, kauai-san.
The issue is related to some misunderstanding between amazon SES and phpbb.

SPF is properly set and passes mxtoolbox' check and passes all tests. When phpbb sends a test email, the emails pass spf/dkim/dmarc. When phpbb sends notifications about signup, private messages, etc, it uses another routine that fails the SPF check. Phpbb is likely sending the wrong headers.

The configuration i have here is a copy/paste of a known working configuration on 3 systems.

I'm going to try another angle today and see. But i would rather focus on the xenforo move.
 
Pm notification between me and kauai shows spf=pass.
On my end, i get a pass for dkim, dmarc, and spf with loose settings.
Everything looks right.

Anyone here have a hotmail, office365, or some other microsoft account as your email?
If so, send me a PM and i'll send you one back.
 
neptronix said:
Pm notification between me and kauai shows spf=pass.
On my end, i get a pass for dkim, dmarc, and spf with loose settings.
Everything looks right.

Anyone here have a hotmail, office365, or some other microsoft account as your email?
If so, send me a PM and i'll send you one back.

Reply to this post if you want and I can check the headers on the automated notification as I noted in a pm.
 
Subject: Topic reply notification - "Server having problems sending out emails."
Created at: Mon, Aug 16, 2021 at 7:01 PM (Delivered after 3 seconds)
SPF: FAIL with IP 2600:1901:101:0:0:0:0:0
 
Okay so it fails when the server randomly decides to send out as ipv6.
What's weird is that the test email on the admin side always succeeds.

This may be a weird SES problem.
I suppose i should setup sendmail as a quick fix ( we don't need incoming mail). Do you have a good configuration for sendmail or something similar to do smtp out? otherwise i'll discover one ( haven't used it in eons - everything has externally hosted email these days )
 
neptronix said:
Okay so it fails when the server randomly decides to send out as ipv6.
What's weird is that the test email on the admin side always succeeds.

This may be a weird SES problem.
I suppose i should setup sendmail as a quick fix ( we don't need incoming mail). Do you have a good configuration for sendmail or something similar to do smtp out? otherwise i'll discover one ( haven't used it in eons - everything has externally hosted email these days )

Sorry I don't. I've been thinking about a new project and it's going to need to send email too so I'll be searching for a good send mail solution as well. I had problems with this in the past where I somehow opened up my server to be used as a relay or something so I'm going to proceed with caution.

Email is complicated, there are developers that specialize in it. Sending a good looking secure email is harder than a web page in a browser because there are way more email clients than browsers these days.

What's weird is that the test email on the admin side always succeeds.
Infamous "it works on my machine" developer issues. I'd be happy to be your other set of eyes when needed.
 
kauaicycler said:
Sorry I don't. I've been thinking about a new project and it's going to need to send email too so I'll be searching for a good send mail solution as well. I had problems with this in the past where I somehow opened up my server to be used as a relay or something so I'm going to proceed with caution.

Yes, if you don't know what you are doing, you're hosed. I wouldn't allow remote connections in any direction other than outwards, so that would eliminate the chance for inexperience causing issues. It's not necessarily a route i'd like to take. But it is a route to use sendmail. I have more reading to do before implementing it.

Deliver-ability of email is my biggest concern.

kauaicycler said:
Email is complicated, there are developers that specialize in it. Sending a good looking secure email is harder than a web page in a browser because there are way more email clients than browsers these days.

Setting up email securely is absolutely a pain in the ass, complicated by some email sending providers' various technical issues. You can't debug on the reciever's end, and that makes diagnosis a longer process than it needs to be. Yes, it's painful.

Thanks for lending me another set of eyes.


Marty, i've ruled out basic and easy fixes like that already.
 
I'm not sure how severe this issue is. I'm getting the email but I guess some users aren't? I'm wondering if the move to the new forum software will fix this issue or complicate it. Eyeballs standing by...
 
The big problem is that people with some mail providers aren't getting email address confirmations when signing up.
That's bad.

Will be plopping a copy of our forum converted to xenforo format on as a tester to see if it sends emails differently to rule out the problem. I'd rather rule that out first.
 
I doubt this is a viable solution, but it's what I use for my self-hosted stuff because my ISP doesn't allow any email sending. I just created a gmail account to do the mailing and set up my scripts/software to use the gmail account when they need to send out mail. It works for my small scale stuff but I doubt google would be happy if I started sending out a larger volume of emails.
 
neptronix said:
The big problem is that people with some mail providers aren't getting email address confirmations when signing up.
That's bad.

Will be plopping a copy of our forum converted to xenforo format on as a tester to see if it sends emails differently to rule out the problem. I'd rather rule that out first.

Yeah that's bad! If the new software works at least you know the problem is in the phpBB software. Feel free to send me email from the test server.

Addy said:
I doubt this is a viable solution, but it's what I use for my self-hosted stuff because my ISP doesn't allow any email sending. I just created a gmail account to do the mailing and set up my scripts/software to use the gmail account when they need to send out mail. It works for my small scale stuff but I doubt google would be happy if I started sending out a larger volume of emails.

I've done this for small sites but I think gmail has a limit of about 500 per day.
 
Oh yeah, google will eventually put an unfixable, undiagnosable black mark on one's account if you do that at scale. Seen it happen to a few clients already. Not sacrificing my own personal account for the cause ;)
 
I flicked a couple settings and hopefully email deliverability improved further. I'm getting new private message notifications correctly to a gmail account.
 
Back
Top