Knowledgebase

Portal Home > Knowledgebase > Articles Database > PHP (Mail) Marked As Spam Yahoo/Msn


PHP (Mail) Marked As Spam Yahoo/Msn




Posted by funmaza, 02-23-2008, 12:18 PM
Hi, i have a issue on my WHM/Cpanel Linux Server. I have hosted few vbulletin and IPB forums. Problem is that, when someone REGISTERS the CONFIRMATION email is sent to JUNK/SPAM in Hotmail and Yahoo email boxes. I have noted that The Confirmation emails sent from many other servers are NOT MARKED as spam by Yahoo and Hotmail email accounts. But the mails sent from My servers are marked as SPAM by default. I have pasted the headers below: Here are headers Mails sent from this server works fine. Received-SPF: pass (google.com: domain of webmaster@vbulletin.org designates 209.62.16.134 as permitted sender) client-ip=209.62.16.134; Authentication-Results: mx.google.com; spf=pass (google.com: domain of webmaster@vbulletin.org designates 209.62.16.134 as permitted sender) smtp.mail=webmaster@vbulletin.org Mails sent from this server are sent to SPAM folder by default: Received-SPF: neutral (google.com: 66.90.101.249 is neither permitted nor denied by domain of zahidon_4u@yahoo.com) client-ip=66.90.101.249; Authentication-Results: mx.google.com; spf=neutral (google.com: 66.90.101.249 is neither permitted nor denied by domain of zahidon_4u@yahoo.com) smtp.mail=zahidon_4u@yahoo.com One thing i am sure is there is something that needs to be fixed in WHM. Some option but i am not sure of that. Could anyone please help it out ?

Posted by Tim Greer, 02-23-2008, 07:05 PM
There could be various reasons. Most commonly are the server was on a list from receiving too many emails that were marked as spam, the content/headers/words/phrases of the emails might play a role (HTML based, links, etc. can as well), the server doesn't have reverse DNS set properly, there's no SPF record that's valid or correct (if at all), or very commonly, the emails from a PHP script in the Apache API (mod_php) are sending from the global web server user (nobody) in the return-path/headers and since so many PHP scripts are exploited to relay spam email, any emails from a nobody@ seen sender mail script are rejected or put into the spam folder. You can check some things and test things to rule some aspects out, but you also might want to ensure that the scripts that send email are running in a CGI mode (using phpsuexec, suphp, or CGI via the suexec wrapper).

Posted by boonchuan, 02-24-2008, 02:29 AM
Try to reverse DNS your web site IP and also create a SPF for the main web server name. That may help.

Posted by LoganNZ, 02-24-2008, 03:24 AM
This is a common problem of forum scripts, all the registration / notice emails are marked as spam by people. its a vicious circle; Newbies class there " un-wanted " email as spam, So the major email providers systems class a fair amount of legit email as false-positives. nothing you can do about it other than warn your members to check there email spam box's upon registering. Regards, Logan



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
How long did it take? (Views: 545)
Is /usr/bin/c99 is OK? (Views: 571)


Language:

Contact us