bsd wrote:

> I would like to test dcc.
> I have installed dcc and thaugh the program seems to start ok :

> root:abcd 12:36 ~ # netstat -an | grep dcc
> c27d508c stream      0      0 c446d000        0        0        0 
> /usr/local/dcc/dccifd
> c32e1834 stream      0      0 c48ac840        0        0        0 
> /var/run/dccm

> When amavisd is started It does not list the dcc pluggin ??

No, it does not, this is normal.

> It looks like dcc is not used by spamassassin... No dcc header in the  
> mail filtered !

> I have modified these files :

> /usr/local/etc/mail/spamassassin/local.cf
> use_dcc 1

This is not necessary.

> dcc_path /usr/local/bin/dccproc

You are using dccifd, but your path points to dccproc, remove:
dcc_path /usr/local/bin/dccproc
The path should not point to a program anyway, but a directory.
This is not needed at any rate because /usr/local/bin is probably
in your PATH already. By giving the wrong path, you probably
disabled dccproc.

Try this instead:
dcc_home /usr/local/dcc
Without this setting, SpamAssassin will not be able to find the dccifd socket
(the socket on your system is probably called /usr/local/dcc/dccifd).

> /usr/local/etc/mail/spamassassin/v310.pre
> loadplugin Mail::SpamAssassin::Plugin::DCC

This is where you enable DCC, this is correct.

> My amavisd-new is configured to run with user "vscan".
> DCC is configured to run with user "dcc"

> root:abcd 12:41 ~ # ps auxww | grep dcc
> dcc      23004  0.0  0.1  2108  1488  ??  Is   12:44AM   0:00.00 /usr/ 
> local/dcc/libexec/dccm -Idcc -tCMN,5, -wwhiteclnt -llog -Uuserdirs - 
> SHELO -Smail_host -SSender -SList-ID
> dcc      23006  0.0  0.4  4800  4008  ??  S    12:44AM   0:00.34 /usr/ 
> local/dcc/libexec/dccm -Idcc -tCMN,5, -wwhiteclnt -llog -Uuserdirs - 
> SHELO -Smail_host -SSender -SList-ID
> dcc      23018  0.0  0.1  2088  1480  ??  Is   12:44AM   0:00.00 /usr/ 
> local/dcc/libexec/dccifd -Idcc -tCMN,5, -llog -wwhiteclnt -Uuserdirs - 
> SHELO -Smail_host -SSender -SList-ID
> dcc      23019  0.0  0.7  8424  7708  ??  S    12:44AM   0:01.21 /usr/ 
> local/dcc/libexec/dccifd -Idcc -tCMN,5, -llog -wwhiteclnt -Uuserdirs - 
> SHELO -Smail_host -SSender -SList-ID

> Any idea how to fix that ?

Hopefully the dccifd socket is world writable, so it should be OK.

BTW, you don't need to run the sendmail milter interface.
I would edit /usr/local/dcc/dcc_conf and set:
DCCM_ENABLE=off

Test with:
cdcc info
and
su vscan -c 'spamassassin --lint -D'

Gary V



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to