<?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; Block Spam Domain</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/block-spam-domain/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>Postfix Blacklist/Whitelist Domain or IP</title>
		<link>https://wiki.centos-webpanel.com/postfix-blacklist-domain-or-ip</link>
		<comments>https://wiki.centos-webpanel.com/postfix-blacklist-domain-or-ip#comments</comments>
		<pubDate>Fri, 14 Jan 2022 21:51:58 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Block Spam Domain]]></category>
		<category><![CDATA[sender_access]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1692</guid>
		<description><![CDATA[This option works only if you have rebuilt the mail server in cwp.admin with antispam. You can blacklist or whitelist incoming emails in the following files: /etc/postfix/sender_blacklist /etc/postfix/sender_whitelist After making changes you need to run the following command for the files you edited postmap /etc/postfix/sender_blacklist postmap /etc/postfix/sender_whitelist Options: # Example for blacklisting domains/IP's or emails, [&#8230;]]]></description>
				<content:encoded><![CDATA[<div class="st-alert st-alert- ">We recommend that you rebuild the mail server with antispam before using this info if your mail server was rebuilt before 14.01.2022.</div>
<p>This option works only if you have rebuilt the mail server in cwp.admin with antispam.<br />
You can blacklist or whitelist incoming emails in the following files:</p>
<pre>/etc/postfix/sender_blacklist
/etc/postfix/sender_whitelist</pre>
<p>After making changes you need to run the following command for the files you edited</p>
<pre>postmap /etc/postfix/sender_blacklist
postmap /etc/postfix/sender_whitelist</pre>
<p><strong>Options: </strong><br />
# Example for blacklisting domains/IP's or emails, one per line:</p>
<pre>1.2.3.4 REJECT
1.2.3.5 REJECT
mail.freemailer.tld REJECT We don't allow emails from mail.freemailer.tld
test@test.test REJECT</pre>
<p>After <strong>REJECT</strong> you can add the message which will be returned to the sender.<br />
The whitelist is the same only difference is that instead of <strong>REJECT</strong> you use <strong>OK</strong>.</p>
<p>Example for whitelisting domains/IP's, one per line:</p>
<pre>1.2.3.4 OK
1.2.3.5 OK
mail.freemailer.tld OK
test@test.test OK</pre>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/postfix-blacklist-domain-or-ip/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
