Defect #12261

HTML email being recognized as spam by gmail

Added by Bruno Medeiros almost 10 years ago. Updated almost 10 years ago.

Status:NewStart date:
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Email notifications
Target version:-
Resolution: Affected version:2.1.2

Description

I have a redmine instance sending emails using a GMail account and I realized that emails were being recognized as spam by gmail. I tried to use sendmail as relay to gmail's smtp, but same result.
Using postfix as relay, I could send email by console (using the 'mail' command), but redmine were still being flag as spam, using the same sendmail relay. So I decided to check 'Plain text mail (no HTML)' and voilá! It worked, mail delivered without spam flag.
There must be something on HTML email headers causing this. Here follows two originals, one plain text (delivered ok) and one html (delivered as spam).

Just ask me if you need more info. I'll keep my instance sending plain text emails for now.

html-spam.txt Magnifier (4.87 KB) Bruno Medeiros, 2012-10-30 16:08

plain-ok.txt Magnifier (3.27 KB) Bruno Medeiros, 2012-10-30 16:08


Related issues

Duplicated by Redmine - Defect #12430: Mail is sending to spam Closed

History

#1 Updated by Jean-Philippe Lang almost 10 years ago

redmine.org uses Gmail as well and I don't think that notifications are treated as spam.

#2 Updated by Dmitry Babenko almost 10 years ago

We use Google Apps email account to send emails from Redmine and have no problems.

Bruno, there are a lot of rules used by spam filters to recognize spam. E.g. it may treat your url http://myhost.net:8080 as harmful. Try to change it to real url.

#3 Updated by Bruno Medeiros almost 10 years ago

Dmitry Babenko wrote:

We use Google Apps email account to send emails from Redmine and have no problems.

Bruno, there are a lot of rules used by spam filters to recognize spam. E.g. it may treat your url http://myhost.net:8080 as harmful. Try to change it to real url.

I just obfuscated here to post, but I really run redmine on port 8080. But why GMail only recognizes as Spam the HTML version?

Also available in: Atom PDF