XF 2.2 Email Confirmation Not Working

Roubik

Member
Good day everyone,

I do not know if i'm creating this thread to the correct section so any mod/admin is free to move it.

I recently installed XF2.2 and everything working great except 1 issue with outbound emailing at Gmail accounts.
Users with gmail addresses can not receive email from my xenforo. My transport method is the PHP built in system.
I own my own VPS and mailserver.
 
Good day everyone,

I do not know if i'm creating this thread to the correct section so any mod/admin is free to move it.

I recently installed XF2.2 and everything working great except 1 issue with outbound emailing at Gmail accounts.
Users with gmail addresses can not receive email from my xenforo. My transport method is the PHP built in system.
I own my own VPS and mailserver.
It could be related to Gmail's strict spam filtering and authentication requirements. You can use https://www.mail-tester.com/ to check if your emails are being flagged as spam and to identify any configuration issues.
 
I just tried it with a score 6/10.
DKIM is -4 with message : Your DKIM signature is not valid
I also tried to register to my forum with 3 different gmail address and all the same, no confirmation email received.
This is the error message from my webmail:

This is the mail system at host ***********.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<nik0s35234@gmail.com>: host gmail-smtp-in.l.google.com[142.251.12.27] said:
550-5.7.26 Your email has been blocked because the sender is
unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with
either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results:
550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [*******] with ip:
[*************] = did not pass 550-5.7.26 550-5.7.26 For instructions on
setting up authentication, go to 550 5.7.26
https://support.google.com/mail/answer/81126#authentication
98e67ed59e1d1-2ef27087c68si18631322a91.87 - gsmtp (in reply to end of DATA
command)
 
To put it simply, you have to configure everything exactly right to even have a chance of mail delivery succeeding.

DKIM needs to be configured.
SPF needs to be configured.
DMARC is highly recommended and sometimes required for some mail systems.

As I explained to someone else recently, sending mail isn't plug-n-play as it used to be. If you don't have the above configured correctly, a lot of your mail won't get delivered. It's difficult to write a single guide on how to do this since there are so many varieties of email configurations out there. I'd start with your host support and work down that list until you have everything configured correctly. It may take a few tries to get it just right...
 
I just tried it with a score 6/10.
DKIM is -4 with message : Your DKIM signature is not valid
I also tried to register to my forum with 3 different gmail address and all the same, no confirmation email received.
This is the error message from my webmail:

This is the mail system at host ***********.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<nik0s35234@gmail.com>: host gmail-smtp-in.l.google.com[142.251.12.27] said:
550-5.7.26 Your email has been blocked because the sender is
unauthenticated. 550-5.7.26 Gmail requires all senders to authenticate with
either SPF or DKIM. 550-5.7.26 550-5.7.26 Authentication results:
550-5.7.26 DKIM = did not pass 550-5.7.26 SPF [*******] with ip:
[*************] = did not pass 550-5.7.26 550-5.7.26 For instructions on
setting up authentication, go to 550 5.7.26
https://support.google.com/mail/answer/81126#authentication
98e67ed59e1d1-2ef27087c68si18631322a91.87 - gsmtp (in reply to end of DATA
command)
Is there any reason you haven't chosen some email provider like Amazon SES? They offer a free tier (https://aws.amazon.com/ses/pricing/) and it complies with major email providers (it also supports SPF, DKIM, and DMARC by default)
 
I prefer to use email linked with my domain rather than some other email service.
ses can link to your domain as an email shown from it.
site i am staff on uses it and the emails show to come from it.
he also uses another mail server for his normal domain mail.
something about setting ses to serve email from a sub domain.
he has written a small guide on how to do it.
 
I prefer to use email linked with my domain rather than some other email service.
Amazon SES is a transactional provider. You setup your domain with SES and they handle your outgoing mail.
The end users receiving email don't really care about where the mail transits at. Your main concern is getting it delivered in the first place.
 
Back
Top Bottom