We have procmail enabled in the dashboard in the email area to perform this task, its more robust so we don't have the feature in roundcube. Here is the procmail rule to block a sender,
# Block sender (file to Junk) ---
:0:
* ^From:.*\<bad@sender\.com\>
$MAILDIR/.Junk/