<?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>Control WebPanel Wiki &#187; php spam</title>
	<atom:link href="http://wiki.centos-webpanel.com/tag/php-spam/feed" rel="self" type="application/rss+xml" />
	<link>http://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Tracking PHP Script SPAM</title>
		<link>http://wiki.centos-webpanel.com/tracking-php-script-spam</link>
		<comments>http://wiki.centos-webpanel.com/tracking-php-script-spam#comments</comments>
		<pubDate>Sat, 21 Mar 2015 02:19:22 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[php spam]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=173</guid>
		<description><![CDATA[CWP is automatically saving to the log when PHP is sending mail using mail() function. This allows you to easily track a spammer by checking the log file. Minimum supported PHP version is: PHP 5.3 Log File: /usr/local/apache/logs/phpmail.log CWP will add a header to mail source for all outgoing emails sent by PHP scripts. Here [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>CWP is automatically saving to the log when PHP is sending mail using mail() function.<br />
This allows you to easily track a spammer by checking the log file.</p>
<p>Minimum supported PHP version is: <strong>PHP 5.3</strong></p>
<p>Log File:</p>
<pre>/usr/local/apache/logs/phpmail.log</pre>
<p>CWP will add a header to mail source for all outgoing emails sent by PHP scripts.<br />
Here is an example of the mail source:</p>
<pre>X-PHP-Originating-Script: 505:file.php</pre>
<p>** <em>The number <strong>505</strong> is the user UID from /etc/passwd, the <strong>file.php</strong> is the script sending the mail.</em></p>
<p>You can find a more detailed logs on the server.<br />
<strong>An example of log in the: /usr/local/apache/logs/phpmail.log</strong></p>
<pre>
mail() on [/home/USERNAME/public_html/wp-content/file.php:83]: To: mike@domain.co.uk -- Headers: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: 8Bit X-Mailer: Drupal Sender: mike@domain.co.uk From: mike@domain.co.uk</pre>
<div class="st-alert st-alert- ">Don't forget to install mod security with automatic update of rules within you CWP to prevent any further hacking of your sites.</div>
]]></content:encoded>
			<wfw:commentRss>http://wiki.centos-webpanel.com/tracking-php-script-spam/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
