Re: Mail filters question still unanswered
"Paul Batchie" <[email protected]>
| Newsgroups | gmane.network.hamster |
|---|---|
| Organization | Jn 3:16 |
| Message-ID | <[email protected]> |
> Good to know that I can filter on any kind of header. The question remains: how do I set this up?
>
> A few sample filters would be nice. What I have seen on the websites so far hasn't answered my question.
>
> To restate the question: How do I set up mail filters using arbitrary message headers? For instance, given the header:
>
>> Content-Type: text/html; charset="ks_c_5601-1987"
>
> how do I make a filter that will delete this message on the remote server without downloading the whole thing? (Or the nearest possible action.)
For the above example, something like
=kill() Content-Type: {text/html}
or
=kill() Content-Type: {charset="ks_c_5601-1987"}
should work, depending on what you're trying to do.
Further instructions and examples are in the Help file - even the
outdated English Help file. The Help file comes with each full
release version of Hamster, but not with the betas. A somewhat
updated version of the mail filter help is at
http://users.bestweb.net/~pbatchie/hamhelp/
In mailfilt.hst the filter order can be very important.
pb