Sendmail not sending @gmail again.........

eric redegeld Posted in Technical Support 4 months ago

https://mxtoolbox.com/SuperTool.aspx?action=blacklist%3anlsociaal.nl&run=toolpage
All green, so no blacklist. And dmarc and spf also working

It's going to be quite annoying now, with the help of network specialists, everything has been put right at domain hoster. Had no problems for a month until yesterday. users with @gmail will no longer receive messages.
How is this possible
Now I turned on SMTP again and with SMTP2GO everything works again.
But that also costs money, there is a setting involved
OAUTH2
I have a google key, and secret
But what do I use for the OAUTH2 field
Because with Google it doesn't cost me anything. Just can't get it to work.

Has anyone gotten this working with Google yet?

Replies
Dutch Eric redegeld Replied 4 months ago

Topic can be closed. thank you

Dutch Eric redegeld Replied 4 months ago

took a while, but it works now.
still weird that the basic phpsendmail does not work for @gmail.com.

Reply domain hoster:
Our mail server has the domain nlsociaal.nl and if another server wants to deliver to the server with the domain name nlsociaal.nl, this is not allowed. Because the mail server then says that you are imitating it, so to speak.
So you are not actually allowed to deliver mail to a mail server if both servers use the same HELO/EHLO, in this case nlsociaal.nl. Our mail server thinks you are an impostor because you are using a domain name that it already has.

This was the isseu

Indonesian Arsalan Shah Replied 4 months ago

Hello Eric, any news from your provider?

Dutch Eric redegeld Replied 4 months ago

okay, thank you for the effort.
contacting provider now
Regard Eric

German Michael Zülsdorff Replied 4 months ago

Thanks.
Your log show 3 connection attempts using
1. mail.smtp2go.com: successful
2. h12.mijn.host: failed
3. h12.mijn.host: failed

First of all that's not quite the same as you wrote, but anyway:

h12.mijn.host obviously doesn't allow to be used by different domains (nlsociaal.nl),
so show that log to your provider and ask which is the correct smtp server to use.

Dutch Eric redegeld Replied 4 months ago

https://1drv.ms/t/s!AlxQa0oJQ_4uwoIu15Nk5xZI9GeV5Q?e=ypsRSZ

did use mail.nlsociaal and mail.h12 wit port 25 and 587

both connection failed.
Test account on webmail for working.

German Michael Zülsdorff Replied 4 months ago

Running Ossn 7.6 and SMTP Component 6.8
I just debugged my smtp connection this way:

turned on error logging via Site Settings -> Basic -> Error Reporting -> On
opened the file components/SMTP/ossn_com.php
added 2 new lines of code below line #135

            //$mail->SMTPDebug = true;
            $mail->SMTPDebug = 3;
            $mail->Debugoutput = 'error_log';

saved the change
proceeded to Configure -> SMTP
completed the form with my server credentials (using port 25 and No OAuth2)
clicked the blue "Submit Query" button

opened the error_log file which lists the server->client communication now

Please do it the same way and provide your log.

Dutch Eric redegeld Replied 4 months ago

correct, tried mail.nlsociaal.nl and h12.mijn.host both gives me connection error from the plugin.
But also annoying is that when smpt module disable it works for about a month, and then people with @gmail stops getting mail.
Site is not on the blacklist, dns setting all correct, all green flags etc.

German Michael Zülsdorff Replied 4 months ago

That is, you are using
SMTP Server: h12.mijn.host
Port: 25
your username and password
and it connects successfully with https://www.gmass.co/smtp-test
but fails to connect with the SMTP component?

Dutch Eric redegeld Replied 4 months ago

if this was so simple
smtp from my hoster works
https://www.gmass.co/smtp-test

AUTH PLAIN AGJlaGVlckBubHNvY2lhYWwubmwATFgxOTY3ZWlwbW9jIXI=
<< 235 Authentication succeeded
MAIL FROM:<[email protected]> SIZE=565
RCPT TO:<[email protected]>
<< 250 OK
<< 250 Accepted
DATA
<< 354 Enter message, ending with "." on a line by itself
From: [email protected]
Date: Tue, 16 Jul 2024 12:19:28 퍍
Subject: SMTP test from mail.nlsociaal.nl

but in this smtp plugin it wont work.
connection failed