There are some patches currently being tested that are supposed to add filtering. (Check the archives of the development mailing list)
Everyone agrees that it is a "must-have" feature, but in order for it to be properly implemented, RoundCube needs a plugin system first.