On Thu, 30 Apr 2009, LuKreme wrote:
No, the senders AWL HURTS new spam. If the score is -2 from the AWL then -2 > * -0.2 = 0.4

Ah. Missed the negative. Then this particular piece of the logic is good.
The odds of any AWL(perIP) other than the legit sender having a negative average are vanishingly small. So you would gain the benefit of positive adjusting spam with almost no chance of an FP....

Though again, legit senders that average negative are relatively rare (well, on my system, anyways).

So in the unlikely event that spam (from a different server) precedes legitimate mail, the legit sender gets a postitive adjustment before they have a chance to score negative...
As I understand it the AWL is added after all others, but yes, the FIRST legitimate mail will be penalized.

Why only the first? Unless the user's message (and continuing average) scores negative, all messages will continue to be affected....

Note that this logic will also be problematic when sender has multiple mail servers. Many senders get a few points positive...
This will only be an issue if those multiple servers have positive AWL scores.

Which is very likely. Spamassassin is constructed on the premise that all mail has a 'few' spam signs, but does not score high enough to be considered 'spam'.

Now let's presume that the sender is spoofed by spammers on ten different
IP's, producing ten different AWL entries. How will you distinguish the legit sender's IP (except by hoping they have scored negative?)... You will simply add up ALL the IP AWL's and score *any* mail from the sender
with a significant positive adjustment....
As far as I can tell, though it's not easy to be sure, legitimate senders have negative AWL scores.

No, the *effect* of their average may be a negative adjustment to messages that otherwise score high, but the stored 'average' is most likely positive. And for me, it's easy to be sure because I have the score printed on the subject line of all my mail. Less than half my ham scores zero, and very few (other than the messages from this list which are helped by a DNS whitelist) score negative.

But how often does that really happen? As I said, most people get a *few* points on legit mail.
But it's not the points on the mail, it is only the AWL listing that we're looking at.

And the AWL listing is an average of the points on all mail. Yes?

OK, how do we parse out the AWL numbers then so we can see what sorts of AWL numbers exist for legit senders. As I understand it, if an email comes in from a know sender who was average 0.8 and this email scores 3.0, a negative AWL will be applied to normalize the email closer to 0.8, right? The AWL score is not 0.8, but 3.0 - (AWL value)?

As I understand it, if the AWL has recorded 20 messages (arbitrary number, always increasing) with an average of 0.8, and a new message scores 3.0 then the AWL function does a bit of math and the new average (now on 21 messages) will be something like 0.9 while the AWL's effect on that one message will be to apply a negative adjustment. But the average stored
in the database would be the average of all scores.

Er.. ok. Perhaps I am misunderstanding the AWL. As I understand it, if a bunch of spam comes in from a server with average scores of 7.0 and a new message comes in with a score of 4, it will have a POSITIVE AWL applied to normalize at 7.0. If a message comes from a know sender with an average score of 2, and this email scores 4, it will get a NEGATIVE AWL score to normalize closer to 2.0, right? Since this is a negative AWL 2.a.ii would not apply because the AWL is negative, so section 2 is skipped entirely and we are at 3. AWL is negative => {crickets}.

But in the long term, a user's messages will be distributed around the average, and so half their mail will score 'positive AWL' using your above terminology. Still not a good way to determine how/when to apply an adjustment.

Also, please keep in mind that the whole reason we are discussing this addition to the rules is because we are looking for a way to deal with messages that otherwise score very low. So for the 'target class' of mail, we are MORE likely to have the spam score equal or lower to the legit sender's mail.... not a pretty picture.... :(

OK, if the value is 0.1 then it would take up to 50 outbound servers with even distribution to add 5.0 points.

But they are adding it to an existing score that may already be slightly spammy. So that mail may only need another 2 points to exceed someone's chosen threshold.

That's quite possible. As I said initially, it's jut an idea I had to make the AWL penalize botnets much more. If it can't be done, that's fine. I think there's some promise here though.

While it's easy to think of rules that fit 'most cases', the exceptions really make it difficult. Like the user who sends mail normally via Outlook via a primary server, but occasionally uses an alternate provider or webmail (with the same address). They would not 'expect' to have their mail penalized because they used a different server.

The idea of AWL is actually that it protects a frequent coreespondent from an 'accidental' high score. But as per another argument recently seen on this list, NOW I know why I get 'blank' spams sometimes. They are setting up my spam filter to AWL the score downwards when they send their real spam..... :-P

So I think perhaps that AWL should not record an 'average' for a new IP until it has at least 5 or 10 messages to work with. Or perhaps it should not permit negative adjustments on the first ten messages.....

And so on..... :)

- Charles

Reply via email to