> Would this make sense? Can this be included into spamassassin, or > are the current internals structured in way that makes the introduction > of such plugins hard/impossible?
The concept of normalization has been discussed under various names over time. My personal impression is nobody really knows if this would help, hurt, or be a waste of time. Although you will certainly find enough opinions one way or the other. I suspect that you could do this as a plugin, but I also suspect you would have to take ugly liberties with the internal data storage in SA. For instance, I suspect (but do not know) that plugins are probably not supposed to modify the mail text. You could certainly do something like this by patching permsgstatus.pm. If this is an idea that interests you enough to work on it, I personally would suggest you grab the ball and run with it -- find out if this really helps or not. It doesn't much matter how you get code working to test your conclusion. If the results are wonderful and the code is ugly beyond belief I'm sure someone will be willing to rewrite as needed. If the results aren't any good, then the code won't matter much anyway. ;-) Loren