You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Scott Friedman <sc...@freedyhome.com> on 2006/10/19 19:03:28 UTC

How do I know that DCC is working?

I have DCC installed and running on my Linux box, running Postfix and 
using Amavisd-new to query SA.

In my local.cf file, I have

use_dcc 1
dcc_timeout 10
dcc_add_header 1
use_razor2 1
razor_timeout 10


But if I grep my amavis logs for dcc and/or Razor, I don't see 
anything...  I think I might not be using these properly...

How do I determine if I am, and is my local.cf configured properly?


Re: How do I know that DCC is working?

Posted by Gary V <mr...@hotmail.com>.
>Gary V wrote:
>>Amavisd-new does not normally log spamassassin related info. You would 
>>need to run amavisd-new in debug-sa mode to see spamassassin related info. 
>>In this case, you could simply run 'spamassassin --lint -D' (but do it as 
>>the amavisd-new user). For example, if the amavisd-new user is 'amavis', 
>>and has shell access:
>>
>>su amavis -c 'spamassassin --lint -D'
>>and if it does not have shell access, possibly:
>>sudo -H -u amavis spamassassin --lint -D
>>
>>or you can narrow down the output by using a 'channel'
>>sudo -H -u amavis spamassassin --lint -D dcc
>
>But stop amavisd before you do this.  amavisd will step on itself and this 
>won't work if the current daemon is running.
>
>--
>Jo Rhett
>Network/Software Engineer
>Net Consonance

If running 'amavisd debug' or 'amavisd debug-sa', yes it is required to 
first stop amavisd. It is not required when running the 'spamassassin' 
command.

Gary V

_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces 
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us


Re: How do I know that DCC is working?

Posted by Jo Rhett <jr...@netconsonance.com>.
Gary V wrote:
> Amavisd-new does not normally log spamassassin related info. You would 
> need to run amavisd-new in debug-sa mode to see spamassassin related 
> info. In this case, you could simply run 'spamassassin --lint -D' (but 
> do it as the amavisd-new user). For example, if the amavisd-new user is 
> 'amavis', and has shell access:
> 
> su amavis -c 'spamassassin --lint -D'
> and if it does not have shell access, possibly:
> sudo -H -u amavis spamassassin --lint -D
> 
> or you can narrow down the output by using a 'channel'
> sudo -H -u amavis spamassassin --lint -D dcc

But stop amavisd before you do this.  amavisd will step on itself and 
this won't work if the current daemon is running.

-- 
Jo Rhett
Network/Software Engineer
Net Consonance

RE: How do I know that DCC is working?

Posted by Gary V <mr...@hotmail.com>.
>>dcc_add_header 1

If this has no effect, read:
http://www.ijs.si/software/amavisd/#faq-spam

Gary V

_________________________________________________________________
Find a local pizza place, music store, museum and moreĀ…then map the best 
route!  http://local.live.com?FORM=MGA001


RE: How do I know that DCC is working?

Posted by Gary V <mr...@hotmail.com>.
>I have DCC installed and running on my Linux box, running Postfix and using 
>Amavisd-new to query SA.
>
>In my local.cf file, I have
>
>use_dcc 1
>dcc_timeout 10
>dcc_add_header 1
>use_razor2 1
>razor_timeout 10
>
>
>But if I grep my amavis logs for dcc and/or Razor, I don't see anything...  
>I think I might not be using these properly...
>
>How do I determine if I am, and is my local.cf configured properly?
>

Amavisd-new does not normally log spamassassin related info. You would need 
to run amavisd-new in debug-sa mode to see spamassassin related info. In 
this case, you could simply run 'spamassassin --lint -D' (but do it as the 
amavisd-new user). For example, if the amavisd-new user is 'amavis', and has 
shell access:

su amavis -c 'spamassassin --lint -D'
and if it does not have shell access, possibly:
sudo -H -u amavis spamassassin --lint -D

or you can narrow down the output by using a 'channel'
sudo -H -u amavis spamassassin --lint -D dcc

http://wiki.apache.org/spamassassin/DebugChannels

Gary V

_________________________________________________________________
Add a Yahoo! contact to Windows Live Messenger for a chance to win a free 
trip! 
http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline