Filtering Postini tagged mail with Sieve

The headers Postini’s anti-spam system adds to emails are quite hard to filter on, as you need to compare part of one header to part of another. Here’s a little snipped that works with dovecot 1.2’s sieve implementation. I don’t actually use this myself anymore, but I’m posting it here for anyone else struggling with the problem.

As a quick note, my final solution was to add a much simpler header after using exim’s perl integration to parse the postini headers.

Leave a Reply

Your email address will not be published. Required fields are marked *