[SOLVED] Mail malfunction

3 months 3 weeks ago #324966 by MSpina59
Replied by MSpina59 on topic Mail malfunction
Well... I think I made it, eventually.
The problem is in the "From" address: in the case of the "Send a message via email to..." form it leads the receiving mail server to consider the message as spam, while when sending mails from the mass mailer function everything goes well.
Please have a look at the attachments: in the "spam" files you can see that the message doesn't meet the DMARC requirements.
To solve the issue: is it possible to take out from the "From" address the first part? In my case the first part is "MSpina @ GCVPCM", which in any case is present in the body of the message.
Thanks!
Marco

File Attachment:

File Name: spam.txt
File Size:4 KB

File Attachment:

File Name: no-spam.txt
File Size:4 KB
Attachments:

Please Log in to join the conversation.

3 months 3 weeks ago - 3 months 3 weeks ago #324968 by beat
Replied by beat on topic Mail malfunction
I just checked our CB mailer and phpmailer code, and, as also visible in your images, the "From" name is correctly quoted with double-quotes " " when it contains the @ sign, which is not part of the allowed unquoted characters.

I also checked RFC 7489 (DMARC) and that "from name" part is/should be ignored, only taking in account the email address itself.

DMARC *can* fail if SPF or DKIM fail, and in your cases, the SPF is failing. Can you adjust the SPF record for your "from" domain to allow the IP addresses from which your emails are sending and retry ?

EDIT:
If it still fails DMARC after passing SPF and DKIM, please also provide raw mail header for better analysis of the issue. You can use the CONFIDENTIAL markup with brackets [] around the header in your post if there are private/confidential information.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

3 months 3 weeks ago #324972 by MSpina59
Replied by MSpina59 on topic Mail malfunction
Did you read the text files attached? They are the raw messages you're asking for.
There you can see:
  1. the SPF fail message appears in the messagge successfully delivered, so, it's just a warning, I guess
  2. the DMARC fail message instead appears only in the mail marked as spam
The only striking difference between the message refused and the other one is the From field:
  • blocked: "MSpina @ GCVPCM" <marco.spina [at] protonmail.com>1
  • accepted: GCVPCM Iscriviti <admin [at] protezionecivilemonza.it>1
For a developer (I am not) it should be not a great deal trying some small modifications, what do you think?
I repeat myself, the first part ("MSpina @ GCVPCM") is not necessary, since it appears anyway in the body of the message:
***** This is a message from MSpina at GCVPCM (https:// www. protezionecivilemonza. it)1 to you: ******
Messaggio privato da Live
***** NOTES: ******........


1 altered since I'm not allowed to include links; see the text files

Please Log in to join the conversation.

3 months 3 weeks ago - 3 months 3 weeks ago #324973 by krileon
Replied by krileon on topic Mail malfunction
You're trying to send emails from your users email address. This isn't allowed most of the time. Within CB > Configuration > General change "Emails Sent From" to "Admin Email Address, with Reply-To User Email Address" as it's likely set to "User Email Address" and is why those emails are being marked spam.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

3 months 3 weeks ago #324979 by MSpina59
Replied by MSpina59 on topic Mail malfunction
I am using the CB form "Send a message via email to...". And it doesn't work, at least for my site. Full stop.
If a smoking gun isn't enough for you please close this ticket, I will find some workaround.
Many thanks for your time.

Please Log in to join the conversation.

3 months 3 weeks ago #324983 by krileon
Replied by krileon on topic Mail malfunction
The profile email form uses the parameter I described above. Within CB > Configuration > General what do you have "Emails Sent From" set to? Based off the information you provided above it's set to "User Email Address". Change it to "Admin Email Address, with Reply-To User Email Address" and retry.

No idea what you mean by "close this ticket". This is just a forum topic. There is no ticket and this isn't closed.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.221 seconds

Facebook Twitter LinkedIn