Closed frank-bn closed 1 year ago
But the problem is (as seen in the haraka log) that karma is assigning spamassasin awards after the smtp_forward plugin.
I think the issue here is perception. Karma updates the transactions score the instant that a plugin reports it and that is definitely happening during data_post
when spamassassin reports it. However, karma doesn't make noise and report it every single time a karma update is made. That would be...obnoxious.
In your example, doesn't think the message is very spammy status=No, score=3.1, required=5.0,
and so it didn't contribute much to the karma score.
Describe the bug
Incoming mails are checked by spamassasin and karma is giving awards for spamassasin hits. But the problem is (as seen in the haraka log) that karma is assigning spamassasin awards after the smtp_forward plugin. At this time the mail is already delivered and a bad karma of -8 or lower will not reject the mail. We are not sure if this is a bug or only a wrong haraka configuration.
Expected behavior
Karma adds awards for spamassassin to the karma score before the mail is delivered via smtp_forward. Karma also rejects the mail if the karma score is lower than -8 (default treshold).
Observed behavior
See this condensed example from our mail.log:
Steps To Reproduce
The problem appears at every incoming mail.
System Info:
Additional context
The following Plugins are activated in this order: