<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic481.xml" />
	<updated>2012-01-24T20:43:12Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic481-install-pyzor-razor2-and-dcc-on-your-centosrhel-iredmail-server.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post13453.html#p13453" />
			<content type="html"><![CDATA[<p>This worked for me:<br />&nbsp; yum --enablerepo=rpmforge downgrade perl-Razor-Agent</p>]]></content>
			<author>
				<name><![CDATA[copart]]></name>
				<uri>http://www.iredmail.org/forum/user4546.html</uri>
			</author>
			<updated>2012-01-24T20:43:12Z</updated>
			<id>http://www.iredmail.org/forum/post13453.html#p13453</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post13437.html#p13437" />
			<content type="html"><![CDATA[<p>rpmforge repo has new version of perl-Razor-Agent, you can try below command instead:<br /></p><div class="codebox"><pre><code># yum update --enablerepo=rpmforge perl-Razor-Agent</code></pre></div><p>Then try original command again:<br /></p><div class="codebox"><pre><code># yum install --enablerepo=rpmforge razor-agents</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-01-23T05:24:14Z</updated>
			<id>http://www.iredmail.org/forum/post13437.html#p13437</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post13429.html#p13429" />
			<content type="html"><![CDATA[<p>[root@ ~]# yum install --enablerepo=rpmforge razor-agents<br />Loaded plugins: fastestmirror<br />Loading mirror speeds from cached hostfile<br /> * base: centos.aol.com<br /> * extras: centos.aol.com<br /> * rpmforge: ftp-stud.fht-esslingen.de<br /> * updates: mirror.ash.fastserv.com<br />base&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 3.7 kB&nbsp; &nbsp; &nbsp;00:00&nbsp; &nbsp; &nbsp;<br />extras&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 3.5 kB&nbsp; &nbsp; &nbsp;00:00&nbsp; &nbsp; &nbsp;<br />iRedMail&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; 951 B&nbsp; &nbsp; &nbsp;00:00&nbsp; &nbsp; &nbsp;<br />rpmforge&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| 1.1 kB&nbsp; &nbsp; &nbsp;00:00&nbsp; &nbsp; &nbsp;<br />updates&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | 3.5 kB&nbsp; &nbsp; &nbsp;00:00&nbsp; &nbsp; &nbsp;<br />Setting up Install Process<br />Resolving Dependencies<br />--&gt; Running transaction check<br />---&gt; Package razor-agents.i686 0:2.84-1.el6.rf will be installed<br />--&gt; Processing Dependency: perl-Razor-Agent = 2.84-1.el6.rf for package: razor-agents-2.84-1.el6.rf.i686<br />--&gt; Finished Dependency Resolution<br />Error: Package: razor-agents-2.84-1.el6.rf.i686 (rpmforge)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Requires: perl-Razor-Agent = 2.84-1.el6.rf<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<strong>Installed: perl-Razor-Agent-2.85-6.el6.i686 (@iRedMail)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;perl-Razor-Agent = 2.85-6.el6</strong><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Available: perl-Razor-Agent-2.84-1.el6.rf.i686 (rpmforge)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;perl-Razor-Agent = 2.84-1.el6.rf<br /> You could try using --skip-broken to work around the problem<br /> You could try running: rpm -Va --nofiles --nodigest</p><p><strong>Above is the error when I try to install the razor agent (CentOS 6.2).&nbsp; However, as I mentioned before, here is one example of a Razor2 hit:</strong><br />Yes, score=19.407 tag=-9000 tag2=5 kill=15 tests=[HTML_IMAGE_ONLY_24=1.282, HTML_IMAGE_RATIO_02=0.805, HTML_MESSAGE=0.001, HTML_MIME_NO_HTML_TAG=0.635, HTML_SHORT_LINK_IMG_3=0.328, MIME_HTML_ONLY=1.105, RAZOR2_CF_RANGE_51_100=1, RAZOR2_CF_RANGE_E8_51_100=2, RAZOR2_CHECK=3, RCVD_IN_BRBL_LASTEXT=1.644, RDNS_NONE=1.274, TO_NO_BRKTS_DIRECT=2.457, TO_NO_BRKTS_NORDNS_HTML=0.001, URIBL_BLACK=1.775, URIBL_DBL_SPAM=1.7, URIBL_WS_SURBL=0.4] autolearn=spam</p><p><strong>In addition I check for settings that usually do get set up, so not sure where razor2 comes in, perhaps it is now built into spamassasin by default:</strong><br />[root@ ~]# grep razor /etc/mail/spamassassin/local.cf<br />[root@ ~]# ls -la /var/spool/amavisd/razor-agent.conf<br />ls: cannot access /var/spool/amavisd/razor-agent.conf: No such file or directory</p>]]></content>
			<author>
				<name><![CDATA[copart]]></name>
				<uri>http://www.iredmail.org/forum/user4546.html</uri>
			</author>
			<updated>2012-01-22T12:36:47Z</updated>
			<id>http://www.iredmail.org/forum/post13429.html#p13429</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post13426.html#p13426" />
			<content type="html"><![CDATA[<p>Hi copart,</p><p>iRedMail doesn&#039;t install Razor2 explicitly, it could be installed automatically as a software dependence. So iRedMail doesn&#039;t configure it by default.</p><p>Any error message of failed package installation?</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-01-22T07:05:37Z</updated>
			<id>http://www.iredmail.org/forum/post13426.html#p13426</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post13425.html#p13425" />
			<content type="html"><![CDATA[<p>iRedMail 0.7.4 appears to have Razor2 already, I am seeing it in the SA headers.&nbsp; Trying to install Razor2 as the instructions say, fails on a perl dependency issue with the iRedmail repository.</p><p>Does it have DCC and Pyzor?&nbsp; Anybody have success?</p>]]></content>
			<author>
				<name><![CDATA[copart]]></name>
				<uri>http://www.iredmail.org/forum/user4546.html</uri>
			</author>
			<updated>2012-01-22T04:56:19Z</updated>
			<id>http://www.iredmail.org/forum/post13425.html#p13425</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post13086.html#p13086" />
			<content type="html"><![CDATA[<p>Hi folks,</p><p>can this tutorial still be used ? any changes ? or I can just go ahead and install/configure it ?<br />i am asking because I saw that configuration tutorial was posted in 2009 ...</p><p>Thank You</p>]]></content>
			<author>
				<name><![CDATA[OviVan]]></name>
				<uri>http://www.iredmail.org/forum/user14185.html</uri>
			</author>
			<updated>2011-12-28T23:50:29Z</updated>
			<id>http://www.iredmail.org/forum/post13086.html#p13086</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post5705.html#p5705" />
			<content type="html"><![CDATA[<p>Just a quick note... the configure line in step 4: Install DCC failed for me because I didn&#039;t have gcc (a compiler) installed.</p><p>You might want to add a line:</p><div class="codebox"><pre><code>yum install gcc</code></pre></div><p>To make sure gcc + dependents are installed.</p><p>Thanks for a great tutorial!</p>]]></content>
			<author>
				<name><![CDATA[bp1]]></name>
				<uri>http://www.iredmail.org/forum/user5266.html</uri>
			</author>
			<updated>2010-10-03T17:02:05Z</updated>
			<id>http://www.iredmail.org/forum/post5705.html#p5705</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post5314.html#p5314" />
			<content type="html"><![CDATA[<p>It works !!!</p><p>Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: razor2: part=0 engine=4 contested=0 confidence=0<br />Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: razor2: part=1 engine=4 contested=0 confidence=0<br />Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: razor2: part=1 engine=8 contested=0 confidence=0<br />Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: razor2: results: spam? 0<br />Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: razor2: results: engine 8, highest cf score: 0<br />Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: razor2: results: engine 4, highest cf score: 0<br />Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: pyzor: pyzor is available: /usr/bin/pyzor<br />Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: info: entering helper-app run mode<br />Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: pyzor: opening pipe: /usr/bin/pyzor check &lt; /var/amavis/tmp/.spamassassin17932plptCJtmp<br />Aug 26 08:29:10 xxx.com.cn /usr/sbin/amavisd[18598]: (17932-12) SA dbg: util: setuid: ruid=102 euid=102<br />Aug 26 08:29:11 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: pyzor: [18598] finished: exit=0x0100<br />Aug 26 08:29:11 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: pyzor: got response: public.pyzor.org:24441 (200, &#039;OK&#039;) 0 0<br />Aug 26 08:29:11 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: info: leaving helper-app run mode<br />Aug 26 08:29:11 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: dcc: dccifd is available: /var/dcc/dccifd<br />Aug 26 08:29:11 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: info: entering helper-app run mode<br />Aug 26 08:29:11 xxx.com.cn /usr/sbin/amavisd[17932]: (17932-12) SA dbg: dcc: dccifd got response: X-DCC-INFN-TO-Metrics: xxx.com.cn 1233; Body=1 Fuz1=1 Fuz2=1</p><p>It do not need the iptable for INPUT.&nbsp; the server only can connect the other server&#039;s ports tcp2307 udp 6277 24441.<br /># DDC, Razor2. Pyzor<br />-A INPUT -p tcp --dport 2307 -j ACCEPT<br />-A INPUT -p udp -m multiport --dport 6277,24441 -j ACCEPT</p><p>I saw the reference site: <a href="http://www.freespamfilter.org/FC4.html#_Toc110999211">http://www.freespamfilter.org/FC4.html#_Toc110999211</a></p>]]></content>
			<author>
				<name><![CDATA[sdaniel]]></name>
				<uri>http://www.iredmail.org/forum/user5422.html</uri>
			</author>
			<updated>2010-08-26T00:33:17Z</updated>
			<id>http://www.iredmail.org/forum/post5314.html#p5314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post5308.html#p5308" />
			<content type="html"><![CDATA[<p>Sample of the [ SPAM ] mail&#039;s header as follow.</p><p>X-Spam-Status: Yes, score=24.431 tagged_above=2 required=6.2 <br />tests=[<br />BAYES_99=3.5, <br />DCC_CHECK=4, <br />DIGEST_MULTIPLE=0.001, <br />FORGED_MUA_OUTLOOK=3.116, <br />HTML_IMAGE_ONLY_08=1.787, <br />HTML_MESSAGE=0.001, INVALID_MSGID=1.9, <br />MIME_BASE64_TEXT=1.753, <br />MIME_HTML_MOSTLY=0.001, <br />MPART_ALT_DIFF=0.739, <br />RAZOR2_CF_RANGE_51_100=0.5, <br />RAZOR2_CF_RANGE_E8_51_100=1.5, <br />RAZOR2_CHECK=2.5, <br />RCVD_IN_XBL=3.033, <br />RDNS_NONE=0.1<br />] autolearn=spam</p><p>X-Spam-Status: Yes, score=8.039 tagged_above=2 required=6.2 <br />tests=[<br />BAYES_50=0.001,<br />DCC_CHECK=4, <br />RCVD_IN_PBL=0.905, <br />RCVD_IN_XBL=3.033, <br />RDNS_NONE=0.1<br />] autolearn=no</p><p>X-Spam-Status: Yes, score=10.895 tagged_above=2 required=6.2 <br />tests=[<br />BAYES_99=3.5, <br />EXTRA_MPART_TYPE=1, <br />HTML_IMAGE_ONLY_04=2.041, <br />HTML_MESSAGE=0.001, <br />MIME_BASE64_TEXT=1.753, <br />PYZOR_CHECK=2.5, <br />RDNS_NONE=0.1<br />] autolearn=no</p>]]></content>
			<author>
				<name><![CDATA[sdaniel]]></name>
				<uri>http://www.iredmail.org/forum/user5422.html</uri>
			</author>
			<updated>2010-08-25T09:37:50Z</updated>
			<id>http://www.iredmail.org/forum/post5308.html#p5308</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post5300.html#p5300" />
			<content type="html"><![CDATA[<p>Error log as follow.<br />and the ports tcp2307 udp6277 24441 do not opened.</p><p>Aug 25 15:07:38 xxx.com.cn /usr/sbin/amavisd[3297]: (03297-16) SA dbg: pyzor: opening pipe: /usr/bin/pyzor check &lt; /var/amavis/tmp/.spamassassin32974VDQB1tmp<br />Aug 25 15:07:38 xxx.com.cn /usr/sbin/amavisd[5109]: (03297-16) SA dbg: util: setuid: ruid=102 euid=102<br />Aug 25 15:07:38 xxx.com.cn /usr/sbin/amavisd[3297]: (03297-16) SA dbg: pyzor: [5109] finished: exit=0x0100<br />Aug 25 15:07:38 xxx.com.cn /usr/sbin/amavisd[3297]: (03297-16) SA dbg: pyzor: got response: No servers available! Maybe try the &#039;discover&#039; command<br />Aug 25 15:07:38 xxx.com.cn /usr/sbin/amavisd[3297]: (03297-16) SA dbg: info: leaving helper-app run mode<br />Aug 25 15:07:38 xxx.com.cn /usr/sbin/amavisd[3297]: (03297-16) SA dbg: pyzor: failure to parse response &quot;No servers available! Maybe try the &#039;discover&#039; command&quot;<br />Aug 25 15:07:38 xxx.com.cn /usr/sbin/amavisd[3297]: (03297-16) SA dbg: dcc: dccifd is not available: no r/w dccifd socket found</p>]]></content>
			<author>
				<name><![CDATA[sdaniel]]></name>
				<uri>http://www.iredmail.org/forum/user5422.html</uri>
			</author>
			<updated>2010-08-25T08:28:53Z</updated>
			<id>http://www.iredmail.org/forum/post5300.html#p5300</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2422.html#p2422" />
			<content type="html"><![CDATA[<p>I installed it successfully!! </p><p>I have added these line in /etc/sysconfig/iptables to open the ports</p><p># DDC, Razor2. Pyzor<br />-A INPUT -p tcp --dport 2307 -j ACCEPT<br />-A INPUT -p udp -m multiport --dport 6277,24441 -j ACCEPT</p><br /><p>Thank you so much</p>]]></content>
			<author>
				<name><![CDATA[hoho]]></name>
				<uri>http://www.iredmail.org/forum/user528.html</uri>
			</author>
			<updated>2010-01-21T03:50:59Z</updated>
			<id>http://www.iredmail.org/forum/post2422.html#p2422</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2068.html#p2068" />
			<content type="html"><![CDATA[<p>Great <img src="http://www.iredmail.org/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> i will upgrade my tutorial to include DCC <img src="http://www.iredmail.org/forum/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> thx man !</p>]]></content>
			<author>
				<name><![CDATA[giorgiolago]]></name>
				<uri>http://www.iredmail.org/forum/user217.html</uri>
			</author>
			<updated>2009-12-11T22:44:09Z</updated>
			<id>http://www.iredmail.org/forum/post2068.html#p2068</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Install Pyzor, Razor2 and DCC on your CentOS/RHEL iRedMail Server]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post2061.html#p2061" />
			<content type="html"><![CDATA[<p><strong>==========<br />Related forum topic: <a href="http://www.iredmail.org/forum/topic457-tutorial-integrating-razor2-and-pyzor-to-iredmail-by-giorgiolago.html">Tutorial for installing Pyzor2, Razor, dcc on Debian/Ubuntu</a><br />==========</strong></p><p>I&#039;ve noticed we have a tutorial for installing Pyzor2 and Razor on a Debian based distribution but not CentOS/RHEL, so here it goes <img src="http://www.iredmail.org/forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Open the following ports on your firewall</p><p>DCC port 6277 UDP<br />Razor2 port 2307 TCP<br />Pyzor port 24441 UDP</p><p>1. Setup required repositories</p><p>DAG Wieers RPMforge has the razor-agents and perl-Razor-Agent packages</p><p>For i386:</p><div class="codebox"><pre><code># rpm -Uvh http://rpmforge.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm</code></pre></div><p>For x86_64:</p><div class="codebox"><pre><code># rpm -Uvh http://rpmforge.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm</code></pre></div><p>Atomic Rocket Turtle has the latest version of pyzor</p><div class="codebox"><pre><code># wget -q -O - http://www.atomicorp.com/installers/atomic.sh | sh</code></pre></div><p>Note. If you wish to disable the atomic repository after using it, simply edit /etc/yum.repos.d/atomic.repo and change enabled = 1 to enable = 0 in [atomic] section</p><p>2. Install the packages</p><div class="codebox"><pre><code># yum install pyzor razor-agents</code></pre></div><p>3. Perform the following<br /></p><div class="codebox"><pre><code># chmod -R a+rX /usr/share/doc/pyzor-0.5.0 /usr/bin/pyzor /usr/bin/pyzord
# chmod -R a+rX /usr/lib/python2.4/site-packages/pyzor
# mkdir /var/spool/amavisd
# chown amavis:amavis /var/spool/amavisd
# su -m amavis -c &#039;pyzor --homedir /var/spool/amavisd discover&#039;
# su -m amavis -c &#039;razor-admin -home=/var/spool/amavisd -create&#039;
# su -m amavis -c &#039;razor-admin -home=/var/spool/amavisd -register&#039;</code></pre></div><p>4. Install DCC<br /></p><div class="codebox"><pre><code># cd /tmp
# wget http://www.dcc-servers.net/dcc/source/dcc-dccproc.tar.Z
# tar xzvf dcc-dccproc.tar.Z
# cd dcc-dccproc-1.3.103
# ./configure --with-uid=amavis
# make
# make install
# chown -R amavis:amavis /var/dcc
# ln -s /var/dcc/libexec/dccifd /usr/local/bin/dccifd</code></pre></div><p>Note. You can ignore the sendmail build error&#039;s you see when you run ./configure --with-uid=amavis</p><p>5. Modify Spamassassin</p><p>Add the following to /etc/mail/spamassassin/local.cf<br /></p><div class="codebox"><pre><code># dcc
use_dcc 1
dcc_home /var/dcc
dcc_path /usr/local/bin/dccproc
dcc_timeout     10
add_header all  DCC _DCCB_: _DCCR_

# pyzor
use_pyzor 1
pyzor_path /usr/bin/pyzor

# razor
use_razor2 1
razor_config /var/spool/amavisd/razor-agent.conf

score RAZOR2_CHECK 2.500
score PYZOR_CHECK 2.500
score DCC_CHECK 4.000</code></pre></div><p>Enable the DCC plugin in /etc/mail/spamassassin/v310.pre<br /></p><div class="codebox"><pre><code># DCC - perform DCC message checks.
#
# DCC is disabled here because it is not open source.  See the DCC
# license for more details.
#
loadplugin Mail::SpamAssassin::Plugin::DCC</code></pre></div><p>Check your Spamassassin configuration</p><div class="codebox"><pre><code># spamassassin --lint</code></pre></div><p>It shouldn&#039;t show any errors.</p><p>6. Restart Amavid and test away</p><div class="codebox"><pre><code># service amavisd restart</code></pre></div><p>testing commands<br /></p><div class="codebox"><pre><code># spamassassin -t -D razor2 &lt; /usr/share/doc/spamassassin-3.2.5/sample-spam.txt
# spamassassin -t -D pyzor &lt; /usr/share/doc/spamassassin-3.2.5/sample-spam.txt
# cdcc info</code></pre></div>]]></content>
			<author>
				<name><![CDATA[dariuszr]]></name>
				<uri>http://www.iredmail.org/forum/user50.html</uri>
			</author>
			<updated>2009-12-11T07:52:14Z</updated>
			<id>http://www.iredmail.org/forum/post2061.html#p2061</id>
		</entry>
</feed>
