I have G suite and a mail relay setup that was working correctly for several months.
smtp-relay.gmail.com:587 has worked with an App Specific Password.
About 3 weeks ago, I migrated my server to a new host. The mail was working fine till 3 days ago at which time the SSL certificate expired. I put in a new SSL certificate and everything is working.
The SMTP server test gets a success message in SMTP server settings. The test message appears in my SENT items but not in my RECEIVED Items. Google Support says it has to do with the website not sending, not the mail relay. Is there a way to log the emails that are successful? To review email logs from the site? I'm trying to troubleshoot why the emails from the DNN site are not getting delivered to recipients; and there are no error messages that I can find.
Which DNN version are you using? (There is a new mail provider included with DNN 9.9.x) Did you check server firewall restrictions? - Make sure, the new server is able to access Gmail SMTP server. You may use a tool like https://www.papercut-smtp.com to check the emails being sent. (install the software on your server, configure DNN to use localhost as SMTP and check the mails and its headers received by the tool)
Thanks.
I am using 9.09.01 currently
The strange thing is -- I have 2 DNN sites/installations using the same version.
The one that didn't have the SSL certificate expire -- the mail server is working fine on that G Suite.
This one has the same settings but does not.
I'm thinking there has to be something I am missing? But I don't know how to find it.
The firewall shouldn't be an issue as both use the same port 587?
Thanks -
I will try this...
In my SENT ITEMS within G Suite Google Workspace, I have this:
Message ID 64dfb36e.1d79fb81.8e2a5.005433SMTPIN_ADDED_MISSING@mx.google.com
Is this a clue to why it's not being delivered?
Is log4net something I enable in web.config?
Do I have to install something on my server?
Google Support tells me these steps will fix it but it may take 48 hours.
Apparently my IP address is being treated as SPAM. So, I had to change my SPF record
from: v=spf1 include:_spf.google.com ~all
to: v=spf1 ip4:84.34.343.442 include:_spf.google.com ~all (IP address changed as example) I also had to whitelist the same IP address here: https://admin.google.com/...ail/spam?hl=en under "Email whitelist" Hopefully this fixes it!
Posted By TechieMD on 20 Jun 2021 04:15 PM Is log4net something I enable in web.config? Do I have to install something on my server?
Log4Net is installed with DNN and enabled automatically. It will create log files inside /portals/_default/logs folder.
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.