Discussion:
Can I save spam score to db on clean mail?
(too old to reply)
Chris Lajoie
2016-04-25 23:26:25 UTC
Permalink
I am trying to fine-tune spam filtering for a couple of addresses on my
domain that receive a lot of it. As part of doing that, I am sending
"clean" messages to the quarantine for these addresses, so I can easily
perform queries and gather some statistics concerning the spam scores of
these messages.

Problem is the spam score of messages that were deemed "clean" is not
placed in the msgs.spam_level column.

Is there an option that will get this field set even on clean messages?
If there is not, can anyone provide tip(s) on how I could modify the
code to accomplish this?

Thanks,
Chris
Chris Lajoie
2016-04-25 23:41:56 UTC
Permalink
Sorry, I should have dug into my problem a bit more before asking the
mailing list....
The msgs.spam_level column is indeed always set, even for clean mail.
The front-end I wrote for viewing the quarantine was hiding the spam
score unless the message was flagged as spam. bone head.
Post by Chris Lajoie
I am trying to fine-tune spam filtering for a couple of addresses on
my domain that receive a lot of it. As part of doing that, I am
sending "clean" messages to the quarantine for these addresses, so I
can easily perform queries and gather some statistics concerning the
spam scores of these messages.
Problem is the spam score of messages that were deemed "clean" is not
placed in the msgs.spam_level column.
Is there an option that will get this field set even on clean messages?
If there is not, can anyone provide tip(s) on how I could modify the
code to accomplish this?
Thanks,
Chris
Loading...