Hi all, How do I create filter by header? I installed filters plugin and I can see
$config['spam_headers'] = array('X-Spam-Flag','X-Spam-Status','X-Yandex-Spam');
line in my configuration file
/var/www/html/example.com/roundcube/plugins/filters/config.inc.php
I don't have any of these headers like X-Spam-Flag, X-Spam-Status, X-Yandex-Spam. But I have Delivered-To header that shows my username1@gmail.com So I tried to add ,'Delivered-To' into config line, then created filter
If the field [Delivered-To] contains gmail move the message to Inbox.gmail from Inbox (Messages: All, Mark: As read)
But it didn't work for me. The problem is that some smart spammers do not include my email address into To: or Cc: field, so I can't filter it (those that include it go to needed folder indeed).
Please advise.
Best, Marchello