What I wish for is that Thunderbird can teach my server about spam. That is, if I flag a mail, Thunderbird should inform the server, and the server should learn. There might already be a standard for that kind of thing, but I am not sure.
I think the server will also need adaptive filtering techniques (like bayesian networks), in addition to the technical filters like greylisting.