Pages: 1
RSS
Filter on a message header, I'm drowning in SPAM
 
Hi,

Recently, a new SPAM campaign is getting past my filters and a possible way of effective filtering would be using the header my ISP added to the email:

X-HiNet-Brightmail: Spam


How can I filter by a custom header?


Thanks,
Andy
Thank you,
Andy

Team work makes the dream work.

The BAT! 6.7.36 x64
 
You've got to teach TB that that header exists:

   Options  ..  Preferences .. Messages .. Message headers .. 'Add'

   Now you'll get a pop-up to define the header

     Display as: X-HiNet-Brightmail (or whatever, it isn't very important)
     RFC header: X-HiNet-Brightmail
     Uncheck: 'This field is an address list' (because it isn't)
     Check: 'Allow this field to be edited in the message editor'
     Uncheck:  'Display  this  field  in the scrollable part of the
     header pane'

Now you create a filter that checks whether this new header field contains the word spam
Good luck
__________________________________
I'm just a user of The Bat! I don't work for Ritlabs.
 
Thanks Roelof, it works very well.  :D
Thank you,
Andy

Team work makes the dream work.

The BAT! 6.7.36 x64
Pages: 1