Hello Again,

I verified that after appylying the patch mentioned below, the problem was 
solved.


Best Regards.

Monday, March 10, 2008, 2:41:47 PM, you wrote:

> Hello,

> I have also the same problem. I am using dspam 3.8 on qmail+vpopmail
> (enabled dspam in .qmail-default file)
> I enabled spamtag [SPAM] for spam mails. Sometimes, dspam does not
> add tag when X-DSPAM-Result is Spam.
> Also, It adds tag even if the mail is innocent.


> spam without tag:

> From: <[EMAIL PROTECTED]>
> User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
> MIME-Version: 1.0
> To: [EMAIL PROTECTED]
> Subject: Incredible solution for smallsized babymakers!
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
> X-DSPAM-Result: Spam
> X-DSPAM-Processed: Mon Mar 10 14:29:22 2008
> X-DSPAM-Confidence: 0.6000
> X-DSPAM-Probability: 1.0000
> X-DSPAM-Signature: 47d529a2546521171120284
> X-DSPAM-Factors: 15,


> tag without spam:

> From: [EMAIL PROTECTED] (Cron Daemon)
> To: [EMAIL PROTECTED]
> Subject: [SPAM] Cron <[EMAIL PROTECTED]>
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=root>
> X-Cron-Env: <USER=root>
> X-DSPAM-Result: Innocent
> X-DSPAM-Processed: Mon Mar 10 01:20:09 2008
> X-DSPAM-Confidence: 0.6000
> X-DSPAM-Probability: 0.0000
> X-DSPAM-Signature: 47d470a9546521279115492
> X-DSPAM-Factors: 27,

> I am using global group.

> groupname:classification:[EMAIL PROTECTED]


> According to the mail at
> http://mailing-list.nuclearelephant.com/3042.html
> people are referring to the Kevin Brown's patch.

> *** ../../dspam-3.6.4/src/dspam.c Tue Jan 31 15:25:46 2006
> --- dspam.c Tue Mar 21 12:56:26 2006
> ***************
> *** 2698,2703 ****
> --- 2698,2710 ----
>         CTX->result = result;
>       }
>     }
+ + + if (CTX->>result == DSR_ISSPAM)
+ strcpy(CTX->>class, LANG_CLASS_SPAM);
+ else if (CTX->>result == DSR_ISINNOCENT)
+ strcpy(CTX->>class, LANG_CLASS_INNOCENT);
> +
>     return result;
>   }

> Is there anyone who uses this patch and Did this solve the problem?



> Wednesday, March 5, 2008, 11:04:36 AM, you wrote:

>> Hi!

>> I have a question about SPAM tag included by DSPAM when global groups are
>> used.

>> I have configured a global group (/var/spool/dspam):
>> grupoJA:classification:[EMAIL PROTECTED]

>> The global user "[EMAIL PROTECTED]" has been trained with a large
>> database of SPAM and NO SPAM mails.

>> When a SPAM mail arrives to another user, we see this headers:

>> Subject: -SPAM- Buy VIAGRA
>> MIME-Version: 1.0
>> Content-type: text/html; charset=UTF-8
>> From: GEPETO <[EMAIL PROTECTED]>
>> Message-Id: <[EMAIL PROTECTED]>
>> Date: Wed,  5 Mar 2008 09:26:40 +0100 (CET)
>> X-My-Dspam: scanned by ccobuz01, Wed, 05 Mar 2008 09:21:48 +0100
>> X-DSPAM-Result: Innocent
>> X-DSPAM-Processed: Wed Mar  5 09:21:48 2008
>> X-DSPAM-Confidence: 0.6000
>> X-DSPAM-Probability: 0.0000
>> X-DSPAM-Signature: 47ce581c124324763319777

>> The "Subject" is tagged with "-SPAM-", which is the tag I have configured
>> in DSPAM. But "X-DSPAM-Result" is "Innocent" ... But this is happening
>> only with real SPAM mails and only when I use global groups. With no-SPAM
>> mails, this header is "Innocent" and any tag is added to Subject.

>> If I don't use global groups, when the "X-DSPAM-Result" header is
>> "Innocent" the tag "-SPAM-" is not added (it's only added when the header
>> is "Spam"), although the message was a real SPAM mail.

>> Do you know why DSPAM is doing this? Its results are OK (tag is added when
>> it's needed), but the "X-DSPAM-Result" is not showing the right value...










-- 

Ismail YENIGUL
Yönetici/Manager
Servis ve Destek Bölümü/System Services and Support Division
Tel: +90 216 344 07 15
Fax: +90 216 344 07 16
http://www.endersys.com.tr

Reply via email to