You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by LuKreme <kr...@kreme.com> on 2012/03/04 12:44:40 UTC

dccifd error

I’ve noticed the following error in my mailogs:

mail spamd[26839]: dcc: failed to connect to local socket /var/dcc/dccifd 

It’s repeated a lot. I searched the list archive and google, but only found pointers that this is a SpamAssasin module. Not sure why it’s not running, how to start it, or even what it is. I have a /var/dcc folder, but I did find one note that said one was not supposed to start dcc from there. The files in there are from either 2006 or 2009, with the exception of

 42 -rw-r--r--  1 root  wheel    42K Mar  4 04:13 whiteclnt.dccw
  8 -rw-------  1 root  wheel   7.4K Mar  4 04:39 map

There is a file "/var/dcc/build/dcc/misc/start-dccifd” which looks like a start script to be called by something in rc.d/ and looking in the headers I see references to sendmail, but I run postfix.

-- 
Forever was over. All the sands had fallen. The great race between
entropy and energy had been run, and the favourite had been the winner
after all.  Perhaps he ought to sharpen the blade again?  No.  Not much
point, really. 


Re: dccifd error

Posted by Stefan Jakobs <st...@localside.net>.
Am Sonntag, 4. März 2012, 12:44:40 schrieb LuKreme:
> I’ve noticed the following error in my mailogs:
> 
> mail spamd[26839]: dcc: failed to connect to local socket /var/dcc/dccifd

spamassassins DCC plugin will use dccproc if dccifd is not available. "If 
dccproc is run more than 500 times in fewer than 500 seconds, dccproc tries to 
start dccifd." (dccproc(8))
An example init script (e.g. /var/lib/dcc/libexec/rcDCC) explains how to start 
dccifd with init.

Look for the rule DCC_CHECK in your spamd logs to see if DCC is working or 
not. 

RTFM: cdcc(8), dcc(8), dccm(8), dccifd(8)
[ ... ]

regards
Stefan

Re: dccifd error

Posted by xTrade Assessory <xt...@matik.com.br>.
LuKreme wrote:
> On Mar 4, 2012, at 21:34, xTrade Assessory <xt...@matik.com.br> wrote:
>
>> you can disable the plugin or setup use_dcc 0 in local.cf
> The plugin *was* disabled in v310, but the errors still showed up in the maillog, which is what started this. As far as I can see, dcc was never running though there was a very old install of it in /var/dcc.
>
use_dcc
loadplugin

are two different settings

use_dcc 0 make sense  if the plugin is loaded from somewhere
loadplugin ...::DCC you can find in one or more of your  *.pre files

if the plugin is not loaded you should not get any err msg
so you might have loaded it from some other .pre file

if it is not loaded you probable should then comment use_dcc


Hans

-- 
XTrade Assessory
International Facilitator
BR - US - CA - DE - GB - RU - UK
+55 (11) 4249.2222
http://xtrade.matik.com.br


Re: dccifd error

Posted by LuKreme <kr...@kreme.com>.
On Mar 4, 2012, at 21:34, xTrade Assessory <xt...@matik.com.br> wrote:

> you can disable the plugin or setup use_dcc 0 in local.cf

The plugin *was* disabled in v310, but the errors still showed up in the maillog, which is what started this. As far as I can see, dcc was never running though there was a very old install of it in /var/dcc.


Re: dccifd error

Posted by xTrade Assessory <xt...@matik.com.br>.
LuKreme wrote:
> On 04 Mar 2012, at 05:38 , xTrade Assessory wrote:
>
>> not sure but probably the dccifd is the remote daemon and since DCC is a
>> commerial service you might not have a account there, so you cannot
>> connect ... ?
> <http://www.rhyolite.com/dcc/>
> "The non-commercial DCC software is distributed under a license that is free only to organizations that do not sell filtering devices or services except to their own users and that participate in the global DCC network. ISPs that use DCC to filter mail for their own users are intended to be covered by the free license. “
>
> But here’s the thing, if dcc is not enabled by spamassassin, I get a spamd error for every message.
>
you can disable the plugin or setup use_dcc 0 in local.cf

otherwise you should  check if you have the dcc package on your machine,
configured and running

Hans

-- 
XTrade Assessory
International Facilitator
BR - US - CA - DE - GB - RU - UK
+55 (11) 4249.2222
http://xtrade.matik.com.br


Re: dccifd error

Posted by LuKreme <kr...@kreme.com>.
On 04 Mar 2012, at 05:38 , xTrade Assessory wrote:

> not sure but probably the dccifd is the remote daemon and since DCC is a
> commerial service you might not have a account there, so you cannot
> connect ... ?

<http://www.rhyolite.com/dcc/>
"The non-commercial DCC software is distributed under a license that is free only to organizations that do not sell filtering devices or services except to their own users and that participate in the global DCC network. ISPs that use DCC to filter mail for their own users are intended to be covered by the free license. “

But here’s the thing, if dcc is not enabled by spamassassin, I get a spamd error for every message.

-- 
BILL: I can't get behind the Gods, who are more vengeful, angry, an
dangerous if you don't believe in them!  HENRY: Why can't all these God
just get along? I mean, they're omni- potent and omnipresent, what's the
problem?


Re: dccifd error

Posted by xTrade Assessory <xt...@matik.com.br>.
LuKreme wrote:
> On 04 Mar 2012, at 04:44 , LuKreme wrote:
>
>> mail spamd[26839]: dcc: failed to connect to local socket /var/dcc/dccifd 
> OK, I found http://wiki.apache.org/spamassassin/InstallingDCC after doing some other googling, got DCC installed (I wiped the existing /var/dcc directory contents), restarted spamd and postfix, and still getting the same error. If I check /var/lib/dcc (I build with the FHS options) the dccifd file does not exist.
>
> # cdcc info | grep anon 
> dcc1.dcc-servers.net,-      RTT+1000 ms  anon
> dcc2.dcc-servers.net,-      RTT+1000 ms  anon
> dcc3.dcc-servers.net,-      RTT+1000 ms  anon
> dcc4.dcc-servers.net,-      RTT+1000 ms  anon
> dcc5.dcc-servers.net,-      RTT+1000 ms  anon
>

not sure but probably the dccifd is the remote daemon and since DCC is a
commerial service you might not have a account there, so you cannot
connect ... ?

Hans


-- 
XTrade Assessory
International Facilitator
BR - US - CA - DE - GB - RU - UK
+55 (11) 4249.2222
http://xtrade.matik.com.br


Re: dccifd error

Posted by LuKreme <kr...@kreme.com>.
On 04 Mar 2012, at 04:44 , LuKreme wrote:

> mail spamd[26839]: dcc: failed to connect to local socket /var/dcc/dccifd 

OK, I found http://wiki.apache.org/spamassassin/InstallingDCC after doing some other googling, got DCC installed (I wiped the existing /var/dcc directory contents), restarted spamd and postfix, and still getting the same error. If I check /var/lib/dcc (I build with the FHS options) the dccifd file does not exist.

# cdcc info | grep anon 
dcc1.dcc-servers.net,-      RTT+1000 ms  anon
dcc2.dcc-servers.net,-      RTT+1000 ms  anon
dcc3.dcc-servers.net,-      RTT+1000 ms  anon
dcc4.dcc-servers.net,-      RTT+1000 ms  anon
dcc5.dcc-servers.net,-      RTT+1000 ms  anon

-- 
'You know me,' said Rincewind. 'Just when I'm getting a grip on
something Fate comes along and jumps on my fingers.' --Interesting Times