<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HELM, WHM/cPanel, Windows, Linux, web hosting talk, Search Engine Optimization, PHP, ASP discussion blog &#187; PHP mail() not working with cPanel WHM</title>
	<atom:link href="http://blog.webhostingdiscussion.net/tag/php-mail-not-working-with-cpanel-whm/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.webhostingdiscussion.net</link>
	<description>Blog is dedicated for web hosting talk, SEO, programming issues, Databases, server administration etc.</description>
	<lastBuildDate>Fri, 30 Jul 2010 05:39:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Prevent the user nobody from sending email from cPanel server</title>
		<link>http://blog.webhostingdiscussion.net/cpanel-hosting-tutorials/prevent-the-user-nobody-from-sending-email-from-cpanel-server.htm</link>
		<comments>http://blog.webhostingdiscussion.net/cpanel-hosting-tutorials/prevent-the-user-nobody-from-sending-email-from-cpanel-server.htm#comments</comments>
		<pubDate>Sun, 13 Dec 2009 07:11:41 +0000</pubDate>
		<dc:creator>Kailash</dc:creator>
				<category><![CDATA[cPanel Hosting Tutorials]]></category>
		<category><![CDATA[cPanel PHP mail() issue]]></category>
		<category><![CDATA[PHP mail() not working with cPanel WHM]]></category>
		<category><![CDATA[Spam mails sent via nobody user cPanel]]></category>
		<category><![CDATA[Spam mails sent via nobody user in WHM]]></category>
		<category><![CDATA[WHM PHP mail() issue]]></category>

		<guid isPermaLink="false">http://blog.webhostingdiscussion.net/?p=18208</guid>
		<description><![CDATA[
			
				
			
		
If you are running PHP script as an Apache user on cPanel server, it is difficult to find the account if someone sends large amount of emails via PHP script. It is due to the fact that all emails will be sent as a nobody user. cPanel provides settings to block emails which are sent [...]


Related posts:<ol><li><a href='http://blog.webhostingdiscussion.net/web-bhosting-control-panels/transfer-a-web-site-from-one-server-to-another-using-cpanelwhm.htm' rel='bookmark' title='Permanent Link: Transfer a web site from one server to another using cpanel/whm'>Transfer a web site from one server to another using cpanel/whm</a></li>
<li><a href='http://blog.webhostingdiscussion.net/cpanel-hosting-tutorials/create-an-email-account-in-cpanel.htm' rel='bookmark' title='Permanent Link: create an email account in cpanel'>create an email account in cpanel</a></li>
<li><a href='http://blog.webhostingdiscussion.net/web-bhosting-control-panels/cpanel-for-windows-cpanel-enkompass.htm' rel='bookmark' title='Permanent Link: cPanel for Windows &#8211; cPanel Enkompass'>cPanel for Windows &#8211; cPanel Enkompass</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.webhostingdiscussion.net%2Fcpanel-hosting-tutorials%2Fprevent-the-user-nobody-from-sending-email-from-cpanel-server.htm&amp;layout=button_count&amp;&amp;width=400&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:400px;height:30px;margin-top:5px;"></iframe><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fblog.webhostingdiscussion.net%2Fcpanel-hosting-tutorials%2Fprevent-the-user-nobody-from-sending-email-from-cpanel-server.htm"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.webhostingdiscussion.net%2Fcpanel-hosting-tutorials%2Fprevent-the-user-nobody-from-sending-email-from-cpanel-server.htm&amp;source=webhosttalk&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>If you are running PHP script as an Apache user on cPanel server, it is difficult to find the account if someone sends large amount of emails via PHP script. It is due to the fact that all emails will be sent as a nobody user. cPanel provides settings to block emails which are sent via nobody user. To enable this option, follow the below steps:</p>
<p>- Login to your WHM.</p>
<p>- Go to <strong>Server Configuration</strong> -> <strong>Tweak Settings</strong>.</p>
<p>-  Select option &#8220;<strong>Prevent the user &#8220;nobody&#8221; from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)</strong>&#8221; and save it.</p>
<p>Please note if PHP processes are running as a nobody user and you enable above option, your clients will not be able to send emails outside their domains using <strong>PHP mail() </strong>function.</p>
<p><strong>Kailash Aghera</strong></p>


<p>Related posts:<ol><li><a href='http://blog.webhostingdiscussion.net/web-bhosting-control-panels/transfer-a-web-site-from-one-server-to-another-using-cpanelwhm.htm' rel='bookmark' title='Permanent Link: Transfer a web site from one server to another using cpanel/whm'>Transfer a web site from one server to another using cpanel/whm</a></li>
<li><a href='http://blog.webhostingdiscussion.net/cpanel-hosting-tutorials/create-an-email-account-in-cpanel.htm' rel='bookmark' title='Permanent Link: create an email account in cpanel'>create an email account in cpanel</a></li>
<li><a href='http://blog.webhostingdiscussion.net/web-bhosting-control-panels/cpanel-for-windows-cpanel-enkompass.htm' rel='bookmark' title='Permanent Link: cPanel for Windows &#8211; cPanel Enkompass'>cPanel for Windows &#8211; cPanel Enkompass</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.webhostingdiscussion.net/cpanel-hosting-tutorials/prevent-the-user-nobody-from-sending-email-from-cpanel-server.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
