because roundcube is an IMAP client it is not best suited to this kind of job - any rule you make in a client only works in that client. if your server supports sieve then you could use the managesieve plugin that ships with roundcube to put a rule on the server to discard emails from specific emails. similarly you might be able to do it with anti-spam functions. it depends on your setup.