Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

DCCPROC and / or DCCIFD

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


rick_knight at rlknight

Oct 14, 2009, 9:01 AM

Post #1 of 7 (601 views)
Permalink
DCCPROC and / or DCCIFD

With the help of people here, I have gotten DCCIFD working. Now I have
another question. Should I use DCCIFD with DCCPROC or instead of
DCCPROC? Can they work together or does one take precedence?

Thanks,
Rick


ecasarero at gmail

Oct 14, 2009, 9:44 AM

Post #2 of 7 (561 views)
Permalink
Re: DCCPROC and / or DCCIFD [In reply to]

2009/10/14 Rick Knight <rick_knight [at] rlknight>

> With the help of people here, I have gotten DCCIFD working. Now I have
> another question. Should I use DCCIFD with DCCPROC or instead of DCCPROC?
> Can they work together or does one take precedence?
>
> Thanks,
> Rick
>

you have to add a dccifd_home or something like that in SA config, and SA
will use the daemon automatically.


rick_knight at rlknight

Oct 14, 2009, 9:52 AM

Post #3 of 7 (557 views)
Permalink
Re: DCCPROC and / or DCCIFD [In reply to]

Eduardo Casarero wrote:
>
>
> 2009/10/14 Rick Knight <rick_knight [at] rlknight
> <mailto:rick_knight [at] rlknight>>
>
> With the help of people here, I have gotten DCCIFD working. Now I
> have another question. Should I use DCCIFD with DCCPROC or instead
> of DCCPROC? Can they work together or does one take precedence?
>
> Thanks,
> Rick
>
>
> you have to add a dccifd_home or something like that in SA config, and
> SA will use the daemon automatically.
>
Eduardo, thanks for your reply.

I have
DCC_HOM /var/dcc
DCC_DCCIFD_PATH /var/dcc/dccifd
DCC_PATH /usr/bin/dccproc

in my local.cf and they are both available. My question is, should I use
both DCCPROC and DCCIFD together or should I be using just one of them.

Thanks,
Rick


jarif at iki

Oct 14, 2009, 9:56 AM

Post #4 of 7 (559 views)
Permalink
Re: DCCPROC and / or DCCIFD [In reply to]

14.10.2009 19:52, Rick Knight kirjoitti:
> Eduardo Casarero wrote:
>>
>>
>> 2009/10/14 Rick Knight <rick_knight [at] rlknight
>> <mailto:rick_knight [at] rlknight>>
>>
>> With the help of people here, I have gotten DCCIFD working. Now I
>> have another question. Should I use DCCIFD with DCCPROC or instead
>> of DCCPROC? Can they work together or does one take precedence?
>>
>> Thanks,
>> Rick
>>
>>
>> you have to add a dccifd_home or something like that in SA config, and
>> SA will use the daemon automatically.
>>
> Eduardo, thanks for your reply.
>
> I have
> DCC_HOM /var/dcc
> DCC_DCCIFD_PATH /var/dcc/dccifd
> DCC_PATH /usr/bin/dccproc
>
> in my local.cf and they are both available. My question is, should I use
> both DCCPROC and DCCIFD together or should I be using just one of them.
>
> Thanks,
> Rick
>

SpamAssassin uses dccifd if it is available. dccproc is a backup, used
only when the daemonised version is not available.

You can and should configure them both, but SA only uses one of them.

--
http://www.iki.fi/jarif/

The human race is a race of cowards; and I am not only marching in that
procession but carrying a banner.
-- Mark Twain


stefan at localside

Oct 14, 2009, 10:17 AM

Post #5 of 7 (559 views)
Permalink
Re: DCCPROC and / or DCCIFD [In reply to]

Jari Fredriksson:
<snip>
> > I have
> > DCC_HOM /var/dcc
> > DCC_DCCIFD_PATH /var/dcc/dccifd
> > DCC_PATH /usr/bin/dccproc
> >
> > in my local.cf and they are both available. My question is, should I use
> > both DCCPROC and DCCIFD together or should I be using just one of them.
> >
> > Thanks,
> > Rick
>
> SpamAssassin uses dccifd if it is available. dccproc is a backup, used
> only when the daemonised version is not available.
>
> You can and should configure them both, but SA only uses one of them.

dccifd is the demonized version of dccproc. As it starts only one time and
then stays in the memory, it runs much faster. dccproc on the other hand has
to be loaded to memory every time it is called (you process a mail). If you
process more than ~2000 msg/h you will probably make sure to use dccifd.

regards
Stefan


rick_knight at rlknight

Oct 14, 2009, 10:32 AM

Post #6 of 7 (555 views)
Permalink
Re: DCCPROC and / or DCCIFD [In reply to]

Jari Fredriksson wrote:
>
>
> 14.10.2009 19:52, Rick Knight kirjoitti:
>> Eduardo Casarero wrote:
>>>
>>>
>>> 2009/10/14 Rick Knight <rick_knight [at] rlknight
>>> <mailto:rick_knight [at] rlknight>>
>>>
>>> With the help of people here, I have gotten DCCIFD working. Now I
>>> have another question. Should I use DCCIFD with DCCPROC or instead
>>> of DCCPROC? Can they work together or does one take precedence?
>>>
>>> Thanks,
>>> Rick
>>>
>>>
>>> you have to add a dccifd_home or something like that in SA config, and
>>> SA will use the daemon automatically.
>>>
>> Eduardo, thanks for your reply.
>>
>> I have
>> DCC_HOM /var/dcc
>> DCC_DCCIFD_PATH /var/dcc/dccifd
>> DCC_PATH /usr/bin/dccproc
>>
>> in my local.cf and they are both available. My question is, should I use
>> both DCCPROC and DCCIFD together or should I be using just one of them.
>>
>> Thanks,
>> Rick
>>
>
> SpamAssassin uses dccifd if it is available. dccproc is a backup, used
> only when the daemonised version is not available.
>
> You can and should configure them both, but SA only uses one of them.
>
> --
> http://www.iki.fi/jarif/
>
> The human race is a race of cowards; and I am not only marching in that
> procession but carrying a banner.
> -- Mark Twain
Jari, Stefan, thanks for your replies. I guess my system is good then.
Since earlier this week when I got Razor2 and DCC working my spam had
dropped to just about nothing. I almost feel lonely without, almost.

Thanks everyone,
Rick


rwmaillists at googlemail

Oct 14, 2009, 6:50 PM

Post #7 of 7 (549 views)
Permalink
Re: DCCPROC and / or DCCIFD [In reply to]

On Wed, 14 Oct 2009 19:17:55 +0200
"Stefan" <stefan [at] localside> wrote:


> dccifd is the demonized version of dccproc. As it starts only one
> time and then stays in the memory, it runs much faster. dccproc on
> the other hand has to be loaded to memory every time it is called
> (you process a mail).


I doubt it has much to do with loading into memory since dccproc will
be cached. The advantage this kind of thing is normally that it reduces
initialization overheads.

According to the ddcproc manpage, "Dccifd is significantly more
efficient than dccproc", but is it still significant when compared to
SpamAssassin?

If you run dccproc manually it sometimes takes several seconds, but
mostly it's virtually instantaneous, about half the time dig takes to
do a dns lookup (which is 2 round-trips), so it appears to be dominated
by network latency and server response time.

Compare that with the ~7 seconds of heavy cpu-usage that spamd takes
on the same machine,and dccifd begins to look like the sort of speed-up
you get from emptying the ashtrays in a Humvee.

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.