Can I save spam score to db on clean mail?

Chris Lajoie chris at
Tue Apr 26 01:41:56 CEST 2016

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.

On 04/25/2016 05:26 PM, Chris Lajoie wrote:
> 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

More information about the amavis-users mailing list