Pfirter Lukas
lp@rpag.ch
Tue, 24 Jul 2007 13:59:23 +0200
This is a multi-part message in MIME format. ------_=_NextPart_001_01C7CDEA.13604594 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi list, I've installed DCC (latest release) into my SpamAssassin (2.6.x) environment a few days ago but I'm now experiencing some trouble. I went after a few how to's on the internet. DCC doens't seem to get any messages (no spam tagged mail does have DCC in X-Spam SpamAssassin tests). I do get an empty DCC-header in the mails: X-Spam-DCC: : This dude seemed to have the same problem but it never got answered: http://www.rhyolite.com/pipermail/dcc/2003/001670.html As I've seen while googling is that it could be a path problem (altough I'm using dcc_path and not dcc_home, should be correct?). My local.cf looks like this: use_dcc 1 dcc_path /usr/local/bin/dccproc dcc_add_header 1 dcc_timeout 20 add_header all DCC _DCCB_: _DCCR_ I use dccproc and not dccifd... (see SpamAssassin debug below). When I run "spamassassin -D --lint", the testmail that is processed there is successfully catched by DCC (I cut unimportant lines, only the ones having to do with DCC): debug: DCCifd is not available: no r/w dccifd socket found. debug: DCC is available: /usr/local/bin/dccproc debug: DCC: got response: X-DCC-EATSERVER-Metrics: 39197 1166; = Body=3Dmany Fuz1=3Dmany Fuz2=3Dmany debug: DCC: Listed! BODY: 999999 of 999999 FUZ1: 999999 of 999999 FUZ2: 999999 of 999999 debug: is spam? score=3D3.076 required=3D5 tests=3DDATE_MISSING,DCC_CHECK,NO_REAL_NAME That looks good, doesn't it? Well another problem existing is, that DCC does have a timeout in "spamassassin -D --lint" often, even when I've set the timeout to 20 seconds. "/var/dcc/log" is always empty btw... and I didn't change anything in /var/dcc/dcc_conf. Thank you a lot! ------_=_NextPart_001_01C7CDEA.13604594 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Dus-ascii"> <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7226.0"> <TITLE>DCC and SpamAssassin not working properly...</TITLE> </HEAD> <BODY> <!-- Converted from text/rtf format --> <P><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">Hi = list,</FONT></SPAN> </P> <P><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">I</FONT><FONT = SIZE=3D2 FACE=3D"Arial">'ve</FONT><FONT SIZE=3D2 FACE=3D"Arial"> = installed DCC</FONT><FONT SIZE=3D2 FACE=3D"Arial"> (latest = release)</FONT><FONT SIZE=3D2 FACE=3D"Arial"> into my = SpamAssassin</FONT><FONT SIZE=3D2 FACE=3D"Arial"> (2.6.x)</FONT><FONT = SIZE=3D2 FACE=3D"Arial"> environment a few days ago but I'm now = experiencing some trouble. I went after a few how to's on the = internet.</FONT></SPAN></P> <P><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">DCC doens't seem = to get any messages (no spam tagged mail does have DCC in X-Spam = SpamAssassin tests</FONT><FONT SIZE=3D2 FACE=3D"Arial">)</FONT><FONT = SIZE=3D2 FACE=3D"Arial">.</FONT></SPAN> </P> <P><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">I do get an empty = DCC-header in the mails:</FONT></SPAN> <BR><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 FACE=3D"Arial">X-Spam-DCC: = :</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">This dude seemed = to have the same problem but it never got answered:</FONT></SPAN> <BR><SPAN LANG=3D"de-ch"></SPAN><A = HREF=3D"http://www.rhyolite.com/pipermail/dcc/2003/001670.html"><SPAN = LANG=3D"de-ch"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 = FACE=3D"Arial">http://www.rhyolite.com/pipermail/dcc/2003/001670.html</FO= NT></U></SPAN></A><SPAN LANG=3D"de-ch"></SPAN> <BR><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">As I've seen = while googling is that it could be a path problem</FONT><FONT SIZE=3D2 = FACE=3D"Arial"> (altough I'm using dcc_path and not dcc_home, should be = correct?)</FONT><FONT SIZE=3D2 FACE=3D"Arial">. My local.cf looks like = this:</FONT></SPAN></P> <P><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 = FACE=3D"Arial">use_dcc</FONT><FONT SIZE=3D2 FACE=3D"Arial"></FONT> <FONT = SIZE=3D2 FACE=3D"Arial">1</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 FACE=3D"Arial">dcc_path = /usr/local/bin/dccproc</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 FACE=3D"Arial">dcc_add_header = 1</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 FACE=3D"Arial">dcc_timeout = 20</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 = FACE=3D"Arial">add_header all DCC _DCCB_: _DCCR_</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">I use dccproc and = not dccifd… (see SpamAssassin debug below).</FONT></SPAN> </P> <P><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">When I run = "spamassassin -D --lint", the testmail that is processed there = is successfully catched by DCC</FONT><FONT SIZE=3D2 FACE=3D"Arial"> (I = cut unimportant lines, only the ones having to do with = DCC):</FONT></SPAN></P> <P><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 FACE=3D"Arial">debug: DCCifd = is not available: no r/w dccifd socket found.</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 FACE=3D"Arial">debug: DCC is = available: /usr/local/bin/dccproc</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 FACE=3D"Arial">debug: DCC: = got response: X-DCC-EATSERVER-Metrics: 39197 1166; Body=3Dmany = Fuz1=3Dmany Fuz2=3Dmany</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 FACE=3D"Arial">debug: DCC: = Listed! BODY: 999999 of 999999 FUZ1: 999999 of 999999 FUZ2: 999999 of = 999999</FONT></B></SPAN> <BR><SPAN LANG=3D"de-ch"><B><FONT SIZE=3D2 FACE=3D"Arial">debug: is = spam? score=3D3.076 required=3D5 = tests=3DDATE_MISSING,DCC_CHECK,NO_REAL_NAME</FONT></B></SPAN> </P> <P><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">That looks good, = doesn't it?</FONT></SPAN> <BR><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">Well another = problem existing is, that DCC does have a timeout in</FONT> <FONT = SIZE=3D2 FACE=3D"Arial">"spamassassin -D --lint"</FONT><FONT = SIZE=3D2 FACE=3D"Arial"> often, even when I've set the timeout to 20 = seconds.</FONT></SPAN></P> <P><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 = FACE=3D"Arial">"/var/dcc/log" is always empty btw… and I = didn't change anything in /var/dcc/dcc_conf.</FONT></SPAN> </P> <P><SPAN LANG=3D"de-ch"><FONT SIZE=3D2 FACE=3D"Arial">Thank you a = lot!</FONT></SPAN> </P> </BODY> </HTML> ------_=_NextPart_001_01C7CDEA.13604594--