I suppose that user prefs could be overriding your dspam.conf
preferences, if the corresponding AllowOverride directive allows it.
Check that?
Make sure that there is not a second preference for spamAction,
spamSubject, or spamTag specified in dspam.conf
I don't have any other ideas on what could be causing the issue, except
for the idea to turn on verbose logging, and looking at that.
-Troy
On 5/28/2014 4:00 PM, Carlos Alberto M. B. wrote:
2014-05-27 17:52 GMT-03:00 Troy Ayers <dspam1...@wcta.net
<mailto:dspam1...@wcta.net>>:
A Retrained message has no X-DSPAM-* in the headers?
To clarify the experiments:
The message comes with X-DSPAM-* in the headers.
After retrainig it, it still with those headers.
The retraining seems to work, and it is done with the command:
/usr/bin/dspam --client --user hid...@email.xx --class=spam
--source=error --signature=53863fd1156344451714589
The retraining is working, since the stats change and it is logged.
Otherwise, the next identical message I sent after a/some retrain is
described in logs as "Tagged", as it should be, but it comes without
X-DSPAM-* in the headers and without the "[SPAM]" in the Subject of
the message.
This would seem to indicate an issue with the method used to
retrain. How do you retrain exactly? Does dspam-stats change
after you retrain? Sounds like the existing x-spam-* headers are
getting stripped out somehow?
Or does the retraining work, but similar or identical emails are
not being flagged as spam?
yes
TEFT, If I remember properly, may need more than one training. If
the test emails are otherwise identical, the x-dpsam-probability
would change with each retrain. You could turn on ShowFactors to
see more detail in the headers.
the logs show as an email was tagged as spam, but don't tag it as it
should be.
In any case, you could turn on verbose logging and see what shows
up there.
If I mis-understand something, please clarify.
It sounds like some messages are not being scanned with dspam at all.
The messages are being scanned, but somehow, when classified as Spam
and "Tagged", nothing is written in the message: No X-DSPAM-* tags,
nor the [SPAM] in the title...
Any idea? :/
-Carlos Alberto
-Troy
On 5/23/2014 8:34 AM, Carlos Alberto M. B. wrote:
Hi,
I'm testing a fresh new DSPAM instalation with Postfix, and it
seems to be working fine, tagging with X-DSPAM-* the mail header.
But when I retrain a message, the next similar messages (that
would be marked as spam) are not being tagged with X-DSPAM-* and
the subject is not changed with the "[SPAM]" at the begining, as
it should be.
Can someone give me any idea how to solve that?
Thanks.
Carlos Alberto
PS: the preferences of dspam.conf:
Preference "trainingMode=TEFT" # { TOE | TUM | TEFT |
NOTRAIN } -> default:teft
Preference "spamAction=tag" # { quarantine | tag |
deliver } -> default:quarantine
Preference "spamSubject=[SPAM]" # { string } ->
default:[SPAM]
Preference "statisticalSedation=5" # { 0 - 10 } -> default:0
Preference "enableBNR=on" # { on | off } -> default:off
Preference "enableWhitelist=on" # { on | off } -> default:on
Preference "signatureLocation=headers" # { message | headers }
-> default:message
Preference "tagSpam=on" # { on | off }
Preference "tagNonspam=off" # { on | off }
Preference "showFactors=off" # { on | off } -> default:off
Preference "optIn=off" # { on | off }
Preference "optOut=off" # { on | off }
Preference "whitelistThreshold=10" # { Integer } -> default:10
Preference "makeCorpus=off" # { on | off } -> default:off
Preference "storeFragments=off" # { on | off } -> default:off
Preference "localStore=" # { on | off } ->
default:username
Preference "processorBias=on" # { on | off } -> default:on
Preference "fallbackDomain=off" # { on | off } -> default:off
Preference "trainPristine=off" # { on | off } -> default:off
Preference "optOutClamAV=off" # { on | off } -> default:off
Preference "ignoreRBLLookups=off" # { on | off } -> default:off
Preference "RBLInoculate=off" # { on | off } -> default:off
Preference "notifications=on" # { on | off } -> default:off
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user