User verification mail does not pass dmarc policy

John Jorgensen Posted in Technical Support 10 months ago

I am completely new to OSSN, but have managed to get it installed and running, but I am unable to solve the problem with all the verification e-mails for new users being rejected. I get this error message:
hotmail-com.olc.protection.outlook.com[104.47.55.161] said: 550 5.7.509
    Access denied, sending domain [ITSASECRET.DK] does not pass DMARC
    verification and has a DMARC policy of reject.
    [PA4P191MB1424.EURP191.PROD.OUTLOOK.COM 2024-01-18T00:24:07.541Z
    08DC16DF55AC227C] [BN0PR04CA0201.namprd04.prod.outlook.com
    2024-01-18T00:24:07.565Z 08DC1756E497F4C3]
    [BN8NAM12FT053.eop-nam12.prod.protection.outlook.com
    2024-01-18T00:24:07.589Z 08DC08863886ECF6] (in reply to end of DATA
    command)
Reporting-MTA: dns; localsmtp.web.simply.com
X-Simply-com-Queue-ID: 4TFk511QDxzMtp8D
X-Simply-com-Sender: rfc822; [email protected]
Arrival-Date: Thu, 18 Jan 2024 01:24:05 +0100 (CET)

Final-Recipient: rfc822;modtagerens@e-mail addresse
Original-Recipient: rfc822;modtagerens@e-mail addresse
Action: failed
Status: 5.7.509
Remote-MTA: dns; hotmail-com.olc.protection.outlook.com
Diagnostic-Code: smtp; 550 5.7.509 Access denied, sending domain
    [ITSASECRET.DK] does not pass DMARC verification and has a DMARC policy of
    reject. [PA4P191MB1424.EURP191.PROD.OUTLOOK.COM 2024-01-18T00:24:07.541Z
    08DC16DF55AC227C] [BN0PR04CA0201.namprd04.prod.outlook.com
    2024-01-18T00:24:07.565Z 08DC1756E497F4C3]
    [BN8NAM12FT053.eop-nam12.prod.protection.outlook.com
    2024-01-18T00:24:07.589Z 08DC08863886ECF6]

I have contacted my hosting provider, everything is working the way it should on their server, and DMARC, SPF and DKIM is setup properly. I tryed to intsall SMTP notifications and enable it, https://github.com/opensource-socialnetwork/SMTP But still not able to get it to work. only difference is that I did not even get the error message returned to my noreply this time.
can anyone help me in the right direction with this? Thanks in advance.

Replies
dk John Jorgensen Replied 10 months ago

Dear Arsalan, thank you for your reply. There are no emails to be found anywhere when i installede the SMTP from github, I get the message that a validation mail is sent, but has disappered completely. And even though i have deleted the SMTP component again, I still dont see any mails anywhere. The emails that I get returned with an error message does not show as sent from my mailprogram either. I am using the webmail solution from my hosting provider: simply.com and i can send mails directly from that mailbox to anywhere else, so it is working. I am struggeling to get my head round how it works in OSSN, how is OSSN able to send mail from my mailsystem when i havent set any kind of permission for it ? I was going through every folder from my zip download of OSSN to see if there where anything that had´nt been installed, but i cant seem to find any problems or missing files. I can se in the threads that some had problems with this some 4 years ago, but i can´t really find a fixed solution to their problems that look similar to my problem. I can also see that you had a post 9 years ago about not sending a validation email, but just let users login after registration, can it have something to do with the version that i have installed ? I really appreciate your help, I think OSSN is awesome, and i really want to learn how to use it properly.

Indonesian Arsalan Shah Replied 10 months ago

Dear John, OSSN didn't set DMARC or any other DNS related records. OSSN sends email from your server configured email tool. Now you said when you used SMTP there is no rejection. Check if email seens in sent items (main box) in the email you used for sending?