Hi,<br><br>I set up DCC on CentOS 5 with Dual Sendmail - Amavisd-new and and Spam assassin.<br><br>I installed DCC from AT rpms. <br><br>pls see below for installed DCC rpm.<br><br>[root@mailgw ~]# rpm -qa |grep DCC<br>DCC-1.3.50-16.0.el5

<br><br>Then, I configured in Deamon mode. <br><br>I did below steps. <br><br><p>[root@mailgw ~]# yum install DCC<br></p>then, 

<p><span><span style="font-size: 11pt;">[root@mailgw ~]# cdcc "delete <a href="http://127.0.0.1/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a>"<br>[root@mailgw ~]# cdcc "delete 
<a href="http://127.0.0.1/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a> Greylist"<br></span></span></p>

<p><span><span style="font-size: 11pt;"></span></span>then, edited /etc/dcc/dcc_conf</p>[root@mailgw ~]# vi /etc/dcc/dcc_conf<br>I changed  <br> <span><span style="font-size: 11pt;">DCCIFD_ENABLE=off</span></span><br>to<p>
<span><span style="font-size: 11pt;"> DCCIFD_ENABLE=on</span></span></p><p><span><span style="font-size: 11pt;"></span></span>then,<br></p><p>[root@mailgw ~]# cp /usr/libexec/dcc/rcDCC /etc/rc.d/init.d/<br></p>[root@mailgw
 ~]# chkconfig rcDCC on
<br><br><br>And finally,I edited SpamAssassin's configuration file,
and tell it where to find the path to DCC:

<p><span><span style="font-size: 11pt;">vi /etc/mail/spamassassin/local.cf</span></span></p>





<p> Add this to the end of the file:<br><span><span style="font-size: 11pt;"></span></span><br>dcc_home /usr/libexec/dcc<br><span><span style="font-size: 11pt;">
</span></span></p>



<p> then, <br></p><p>Edit the file v310.pre:</p>

<p><span><span style="font-size: 11pt;">vi
/etc/mail/spamassassin/v310.pre</span></span></p>



<p> I changed <br></p>

<p><span><span style="font-size: 11pt;">#loadplugin
Mail::SpamAssassin::Plugin::DCC</span></span></p>



<p> to ( I removed the # mark)</p><p><span><span style="font-size: 11pt;">loadplugin Mail::SpamAssassin::Plugin::DCC</span></span></p>



<p>then, <br></p>[root@mailgw ~]# /etc/init.d/spamassassin restart<br>Stopping spamd:                                            [  OK  ]<br>Starting spamd:                                            [  OK  ]
<br><br>then, <br><br><br>[root@mailgw ~]# /etc/init.d/rcDCC start<br><br>Then, I checked logs, It gives below erros. <br><br>May 25 13:31:51 mailgw dccm[30935]: setpgid(): Permission denied<br>May 25 13:31:51 mailgw dccm[30935]: 
1.3.50 listening to /var/run/dcc/dccm with /etc/dcc<br>May 25 13:31:51 mailgw dccm[30935]: DCC: Unable to bind to port /var/run/dcc/dccm: Address already in use<br>May 25 13:31:51 mailgw dccm[30935]: DCC: Unable to create listening socket on conn /var/run/dcc/dccm
<br>May 25 13:31:51 mailgw dccm[30935]: 1.3.50 detected 0 spam, ignored for 0, rejected for 0, and discarded for 0 targets among 0 total messages for 0 targets since 05/25/07 13:31:51<br>May 25 13:31:51 mailgw dccm[30935]: smfi_main() = -1
<br>May 25 13:31:51 mailgw dccifd[30950]: setpgid(): Permission denied<br>May 25 13:31:51 mailgw dccifd[30950]: 1.3.50 listening to /etc/dcc/dccifd<br><br clear="all">Can you solve this issue? <br><br>Then, I disabled selinux as below
<br>[root@mailgw ~]# setenforce 0<br><br>Then, I started DCC service again,<br><br>[root@mailgw ~]# /etc/init.d/rcDCC start<br><br>Then It gave no erros. <br><br>pls see below. <br><br>[root@mailgw dcc]# tail -f /var/log/maillog
<br><br>May 25 13:35:05 mailgw dccm[31026]: 1.3.50 listening to /var/run/dcc/dccm with /etc/dcc<br>May 25 13:35:05 mailgw dccifd[31041]: 1.3.50 listening to /etc/dcc/dccifd<br><br>I do not want to leave selinux disabled. 
<br><br>So could you pls help me to solve this?<br><br><br><br><br><br>-- <br>Thank you<br>Indunil Jayasooriya<br>