Drupal Generated Email is Considered Spam

parkeug - August 4, 2007 - 20:24

When a user registers or requests a password on our new Drupal installation, the resulting automatically generated email is caught by the user's email spam filters (Gmail and Yahoo) and the email never makes it to the user's inbox.

The strange thing is that if I change the text of the generated email in User Settings to contain only a few words, the email makes it through to the inbox. However, when using the default messages, a message with nothing but a URL link, or a message with more than one or two sentences, the email is caught by the spam filters again. I am completely perplexed.

I have seen other posts on this topic, but I have been unable to find a solution for this particular problem. I have tried installing the SMTP module... test emails go through fine, but the autogenerated emails do not.

I have tested this on 5.1 and 5.2 on a VPS running Sendmail and hosting multiple domain names, if that makes any difference.

Does anybody know what might be causing this problem? Thank you in advance for any advice you may be able to offer.

=-=

VeryMisunderstood - August 4, 2007 - 20:27

you do have an email address set in administer -> site information ?
_____________________________________________________________________________________________
give a person a fish and you feed them for a day but ... teach a person to fish and you feed them for a lifetime

Hi, thanks for the quick

parkeug - August 4, 2007 - 20:29

Hi, thanks for the quick reply. Yes, I do have that set correctly to admin@mydomainname.com, which is a valid mailbox.

user-side filters

tm - August 4, 2007 - 20:52

is it ALL auto-gen'd messaging with longer text, or only the account-related stuff?

the link might be related to anti-phishing filters; don't give a mail user a "link" to click through (wonder if this breaks the "one-time" thingy). the longer messages may also be related to anti-phishing, if the spam-filters are looking for patterns, like "please verify your account/password" stuff.

the good news is, you are getting messages through sometimes, so your mail domain(s) has(are) not been blacklisted by an rbl.

hmm, have to test this.

Send a mesg to support

humble - August 4, 2007 - 20:56

I get this a lot especially with a new site on a fresh VPS. Solution is to send a personal mesg to Gmail (Yahoo, etc.) support asking them to whitelist your IP/domain.

tis complicated

sepeck - August 5, 2007 - 00:54

Without the message header information it is very difficult to guess correctly.
1. Is your ip address or domain on any known spam lists? You can check on www.dnsstuff.com
2. Do you have an spf record for your domain? openspf.org

There was a formatting issue for smtp mail that was fixed a few months ago and included in 5.2.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

Could it be due to html formated emails

STNyborg - November 6, 2008 - 08:48

I still have this problem on one site, where user's request password emails are caught by spam mail filters.

I have learned that the emails have been formated as html emails, and cannot figure out how to turn this off on system emails.

=-=

VeryMisunderstood - November 7, 2008 - 23:35

AFAIK drupal doesn't do HTML by default which modules are you using that affect email?

 
 

Drupal is a registered trademark of Dries Buytaert.