<?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; locating spam</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/locating-spam/feed" rel="self" type="application/rss+xml" />
	<link>https://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>How to resolve spamming issue with postfix</title>
		<link>https://wiki.centos-webpanel.com/how-to-resolve-spamming-issue-with-postfix</link>
		<comments>https://wiki.centos-webpanel.com/how-to-resolve-spamming-issue-with-postfix#comments</comments>
		<pubDate>Thu, 21 Jan 2016 17:22:27 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[locating spam]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=471</guid>
		<description><![CDATA[How to resolve the spamming issue with your postfix mailserver having CWP. Before starting we should stop the postfix mailserver. service postix stop For start lets count the number of emails stuck in the mail server queue: postqueue -p &#124; grep -c "^[A-Z0-9]" Select few similar emails and use IDs to check them postqueue -p [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>How to resolve the spamming issue with your postfix mailserver having CWP.</strong></p>
<p>Before starting we should stop the postfix mailserver.</p>
<pre>service postix stop</pre>
<p>For start lets count the number of emails stuck in the mail server queue:</p>
<pre>postqueue -p | grep -c "^[A-Z0-9]"</pre>
<p>Select few similar emails and use IDs to check them</p>
<pre>postqueue -p</pre>
<p>you will get something like:<br />
<code>47071F9C08  2262516 Thu Jan 21 13:14:52  erica.bello@abc.com</code></p>
<p>Now we need to read that email by ID</p>
<pre>postcat -q 47071F9C08</pre>
<p>By reading the content of the email we can determinate if that is a spam or not.<br />
If the email is spam then you need to locate the source of it.</p>
<p>If the email source contains something similar like sasl login:<br />
<code>named_attribute: sasl_method=LOGIN<br />
named_attribute: sasl_username=info@abc.com</code><br />
That means that "sasl" password login was hacked for the email account "info@abc.com".<br />
To protect your server you need to change the email account password.</p>
<p>Once you have changed the account password then you should restart the postfix.</p>
<pre>service postfix restart</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>
<p><em>This article will be updated from time to time!!!</em></p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/how-to-resolve-spamming-issue-with-postfix/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
