Block spam interface

I’m not sure about your code but there is already an option in Roundcube / Sieve to filter e-mails.
Another way is to use global exim4 blocking lists, like so:

I have setup three global blocking lists. One for tld’s, one for domains and one for specific e-mailaddresses.

Feel free to use it if it can help you.

2 Likes