Feature Suggestion for Thunderbird: Seamless Integration of Serverside Spamtools

I would like to train my serverside spamsolution by

a) clicking on a "mark as junk"-button, resulting in the address being added to a serverside blacklist, the contents of the message being added to the bayesian-filter-base for recognizing spam by content and the mail being moved to a spam-folder

b) clicking on a "mark as non-junk"-button, resulting in an addition to serverside-whitelist and moving the mail from a spam-suspect-folder to e.g. the inbox

Important projects to support would probably be the widely used DSPAM and SpamAssassin