[imp] Filtering on mail headers

Tim Gorter email@teletechnics.com
Wed, 25 Sep 2002 10:19:16 +0200


MMS> Quoting Brent Jones <brentj@servuhome.net>:

MMS> | Just wondering if in the future, it will be possible to filter based on
MMS> | e-mail headers.

There is a patch you can use if you like to use a procmail driver for the
forwards (sork) module. This requires you to have procmail installed, and
for the moment that you do not need the use of a .forward file.

The forwards module you can download from horde.org. The patch you'll find
at http://www.teletechnics.com/horde/ under sork.

This will then enable you to filter messages that have this header and
place these in another folder or delete them.

But be aware that you may have to adjust the code slightly to suit your
application.

cheers,
tim.