Hi,
I had a spam filter on my server, and spam was put in the Junk folder automatically.
I played a bit with the managesieve Roundcube plugin and it works good, sadly I have not found a (Android) mail client that pushes notifications for more than just the Inbox alone yet....
But, since I have used the managesieve plugin, the spam messages get delivered to the Inbox again...
I have in /var/lib/dovecot/sieve/default.sieve :
require "fileinto";
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk";
}
With the right permissions....
Thanks!