I just uploaded a new version of kdepim to alioth including updates from the SVN 3.5 branch up to Friday. This should fix the kmail issues with filtering to IMAP folders. -- Daniel Schepler