That's the source of the spamassassin web interface we made to manage spamassassin confs.
Users have their virtual home at /postfix/"domain"/"user"/ and spamassassin confs at /postfix/"domain"/"user"/.spamassassin/
The files the web interface handles are: pontuacao.cf (the points needed to be marked as spam), whitelist.cf and blacklist.cf
I just need some help to put this into roundcubemail, later on some spam buttons in the message view will be done (mark as spam, mark as not spam)...
Please, if you find the code somehow interesting, help us :-)
http://webmail.compusat.com.br/spam.tar.gz