Hello Everyone,


I'm using dspam since some months now, all is running well, and I train
dspam by forwarding non-detected spam to "[email protected]" and
false-positives to "[email protected]".

But I run into a problem since several days, I recompiled dspam to switch
database backend to PostgreSQL, and since this time, when I forward
false-positives to "[email protected]", dspam try to deliver it after
retraining instead of silently dropping it like it does with "
[email protected]".



I have those values into dspam.conf, and I use merged groups:

ParseToHeaders on

ChangeModeOnParse on

ChangeUserOnParse off



You can find hereafter some dspam debug log extract that illustrate this
problem. When I forward mail to [email protected], dspam process the
[email protected] user, but when I forward to [email protected] it
process the original recipient of the mail.



Mail forwarded to [email protected]

%<--------------------------------------------------------------------------------------------

6482: [01/30/2009 10:04:15] DSPAM Instance Startup

6482: [01/30/2009 10:04:15] input args: dspam --deliver=innocent

6482: [01/30/2009 10:04:15] pass-thru args: /usr/sbin/sendmail

*6482: [01/30/2009 10:04:15] processing user [email protected]*

6482: [01/30/2009 10:04:15] uid = 0, euid = 0, gid = 0, egid = 0

6482: [01/30/2009 10:04:15] loading preferences for user [email protected]

6482: [01/30/2009 10:04:15] Loading preferences for uid 100

6482: [01/30/2009 10:04:15] Loading preferences for uid 0

6482: [01/30/2009 10:04:15] Loading preferences for uid 0

6482: [01/30/2009 10:04:15] loaded default preferences externally

6482: [01/30/2009 10:04:15] using
/var/db/dspam/opt-in/mydomain.tld/spam.dspam as path

6482: [01/30/2009 10:04:15] using
/var/db/dspam/opt-out/mydomain.tld/spam.nodspam as path

6482: [01/30/2009 10:04:15] sedation level set to: 5

6482: [01/30/2009 10:04:15] found signature '19130,498197ce768191877075062'

6482: [01/30/2009 10:04:15] loading preferences for user
[email protected]

6482: [01/30/2009 10:04:15] Loading preferences for uid 19130

6482: [01/30/2009 10:04:15] Loading preferences for uid 0

6482: [01/30/2009 10:04:15] loaded default preferences externally

6482: [01/30/2009 10:04:15] processing signature.  length: 5408

6482: [01/30/2009 10:04:15] reversing 338 tokens

6482: [01/30/2009 10:04:15] Control: [10 10] [11 10] Delta: [1 0]

6482: [01/30/2009 10:04:15] reclassifying iteration 1 result: 0

[…]

6482: [01/30/2009 10:04:15] Burton-Bayesian Probability: 0.499780 Samples:
27

6482: [01/30/2009 10:04:15] no factors specified; using default

6482: [01/30/2009 10:04:15] Result Confidence: 0.50

6482: [01/30/2009 10:04:15] total processing time: 0.01493s

6482: [01/30/2009 10:04:15] processing signature.  length: 5408

6482: [01/30/2009 10:04:15] reversing 338 tokens

6482: [01/30/2009 10:04:15] Control: [10 10] [11 10] Delta: [1 0]

6482: [01/30/2009 10:04:15] reclassifying iteration 2 result: 0

[…]

6482: [01/30/2009 10:04:15] Burton-Bayesian Probability: 0.499780 Samples:
27

6482: [01/30/2009 10:04:15] no factors specified; using default

6482: [01/30/2009 10:04:15] Result Confidence: 0.50

6482: [01/30/2009 10:04:15] total processing time: 0.01437s

6482: [01/30/2009 10:04:15] processing signature.  length: 5408

6482: [01/30/2009 10:04:15] reversing 338 tokens

6482: [01/30/2009 10:04:15] Control: [10 10] [11 10] Delta: [1 0]

6482: [01/30/2009 10:04:15] reclassifying iteration 3 result: 0

[…]

6482: [01/30/2009 10:04:15] Burton-Bayesian Probability: 0.499780 Samples:
27

6482: [01/30/2009 10:04:15] no factors specified; using default

6482: [01/30/2009 10:04:15] Result Confidence: 0.50

6482: [01/30/2009 10:04:15] total processing time: 0.01419s

6482: [01/30/2009 10:04:15] processing signature.  length: 5408

6482: [01/30/2009 10:04:15] reversing 338 tokens

6482: [01/30/2009 10:04:15] Control: [10 10] [11 10] Delta: [1 0]

6482: [01/30/2009 10:04:15] reclassifying iteration 4 result: 0

[…]

6482: [01/30/2009 10:04:15] Burton-Bayesian Probability: 0.499780 Samples:
27

6482: [01/30/2009 10:04:15] no factors specified; using default

6482: [01/30/2009 10:04:15] Result Confidence: 0.50

6482: [01/30/2009 10:04:15] total processing time: 0.01478s

6482: [01/30/2009 10:04:15] processing signature.  length: 5408

6482: [01/30/2009 10:04:15] reversing 338 tokens

6482: [01/30/2009 10:04:15] Control: [10 10] [11 10] Delta: [1 0]

6482: [01/30/2009 10:04:15] reclassifying iteration 5 result: 0

[…]

6482: [01/30/2009 10:04:15] Burton-Bayesian Probability: 0.499781 Samples:
27

6482: [01/30/2009 10:04:15] no factors specified; using default

6482: [01/30/2009 10:04:15] Result Confidence: 0.50

6482: [01/30/2009 10:04:15] total processing time: 0.01562s

6482: [01/30/2009 10:04:15] libdspam returned probability of 1.000000

*6482: [01/30/2009 10:04:15] message result: SPAM*

*6482: [01/30/2009 10:04:15] DSPAM Instance Shutdown.  Exit Code: 0*

6482: [01/30/2009 10:04:15] checking trusted user list for root(0)

%<--------------------------------------------------------------------------------------------





Mail forwarded to [email protected]:

%<--------------------------------------------------------------------------------------------

5618: [01/30/2009 09:49:08] DSPAM Instance Startup

5618: [01/30/2009 09:49:08] input args: dspam --deliver=innocent

5618: [01/30/2009 09:49:08] pass-thru args: /usr/sbin/sendmail

*5618: [01/30/2009 09:49:08] processing user [email protected]*

5618: [01/30/2009 09:49:08] uid = 0, euid = 0, gid = 0, egid = 0

5618: [01/30/2009 09:49:08] loading preferences for user [email protected]

5618: [01/30/2009 09:49:08] Loading preferences for uid 19130

5618: [01/30/2009 09:49:08] Loading preferences for uid 0

5618: [01/30/2009 09:49:08] loaded default preferences externally

5618: [01/30/2009 09:49:08] using /var/db/dspam/opt-in/local/19130.dspam as
path

5618: [01/30/2009 09:49:08] using /var/db/dspam/opt-out/local/19130.nodspam
as path

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] adding user to merged group nl

5618: [01/30/2009 09:49:08] sedation level set to: 5

5618: [01/30/2009 09:49:08] found signature '19130,498197ce768191877075062'

5618: [01/30/2009 09:49:08] loading preferences for user
[email protected]

5618: [01/30/2009 09:49:08] Loading preferences for uid 19130

5618: [01/30/2009 09:49:08] Loading preferences for uid 0

5618: [01/30/2009 09:49:08] loaded default preferences externally

5618: [01/30/2009 09:49:08] processing signature.  length: 5408

5618: [01/30/2009 09:49:08] reversing 338 tokens

5618: [01/30/2009 09:49:09] Control: [10 10] [29 31] Delta: [19 21]

5618: [01/30/2009 09:49:09] reclassifying iteration 1 result: 0

[…]

5618: [01/30/2009 09:49:09] Burton-Bayesian Probability: 0.504062 Samples:
27

5618: [01/30/2009 09:49:09] using Burton factors

5618: [01/30/2009 09:49:09] Result Confidence: 0.50

5618: [01/30/2009 09:49:09] total processing time: 0.01122s

5618: [01/30/2009 09:49:09] processing signature.  length: 5408

5618: [01/30/2009 09:49:09] reversing 338 tokens

5618: [01/30/2009 09:49:09] Control: [10 10] [30 31] Delta: [20 21]

5618: [01/30/2009 09:49:09] reclassifying iteration 2 result: 0

[…]

5618: [01/30/2009 09:49:09] Burton-Bayesian Probability: 0.504062 Samples:
27

5618: [01/30/2009 09:49:09] using Burton factors

5618: [01/30/2009 09:49:09] Result Confidence: 0.50

5618: [01/30/2009 09:49:09] total processing time: 0.00734s

5618: [01/30/2009 09:49:09] processing signature.  length: 5408

5618: [01/30/2009 09:49:09] reversing 338 tokens

5618: [01/30/2009 09:49:09] Control: [10 10] [30 31] Delta: [20 21]

5618: [01/30/2009 09:49:09] reclassifying iteration 3 result: 0

[…]

5618: [01/30/2009 09:49:09] Burton-Bayesian Probability: 0.504062 Samples:
27

5618: [01/30/2009 09:49:09] using Burton factors

5618: [01/30/2009 09:49:09] Result Confidence: 0.50

5618: [01/30/2009 09:49:09] total processing time: 0.00703s

5618: [01/30/2009 09:49:09] processing signature.  length: 5408

5618: [01/30/2009 09:49:09] reversing 338 tokens

5618: [01/30/2009 09:49:09] Control: [10 10] [30 31] Delta: [20 21]

5618: [01/30/2009 09:49:09] reclassifying iteration 4 result: 0

[…]

5618: [01/30/2009 09:49:09] Burton-Bayesian Probability: 0.504062 Samples:
27

5618: [01/30/2009 09:49:09] using Burton factors

5618: [01/30/2009 09:49:09] Result Confidence: 0.50

5618: [01/30/2009 09:49:09] total processing time: 0.00707s

5618: [01/30/2009 09:49:09] processing signature.  length: 5408

5618: [01/30/2009 09:49:09] reversing 338 tokens

5618: [01/30/2009 09:49:09] Control: [10 10] [30 31] Delta: [20 21]

5618: [01/30/2009 09:49:09] reclassifying iteration 5 result: 0

[…]

5618: [01/30/2009 09:49:09] Burton-Bayesian Probability: 0.504062 Samples:
27

5618: [01/30/2009 09:49:09] using Burton factors

5618: [01/30/2009 09:49:09] Result Confidence: 0.50

5618: [01/30/2009 09:49:09] total processing time: 0.00723s

5618: [01/30/2009 09:49:09] libdspam returned probability of 0.000000

*5618: [01/30/2009 09:49:09] message result: NOT SPAM*

*5618: [01/30/2009 09:49:09] delivering message*

*5618: [01/30/2009 09:49:09] Establishing connection to 127.0.0.1:10027*

*5618: [01/30/2009 09:49:09] Connection established*

%<--------------------------------------------------------------------------------------------

* *

* *

Regards,



Laurent Cligny

ICT Department

ISOBOX Technologies
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to