Re: Mail filters question still unanswered

Bill Phillips <[email protected]>
Newsgroups gmane.network.hamster
Message-ID <3.0.6.32.20020515142252.01227320@localhost>
At 14:53 2002-05-14 -0400, Paul Batchie wrote:
>> 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.


Yeah, the second example is it ... I've put that in, and added several more entries - 2 other charsets and variants. As far as I can tell, it is working; at least, I haven't seen any of these turn up in Eudora so far since I set this up.

I can't be absolutely certain it's working, because I haven't figured out "notify()". How the heck does notify(admin) work? I tacked that line onto the end of my filter file, since there seemed to be nothing else to do with it ... but I haven't seen any notifications. Could someone clarify this??


>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.

I referred to this, and it did indeed tell me what I needed to know - except for how to use notify().

Thanks very much (and thanks to Karl Ove Hufthammer <[email protected]> as well),
Bill Phillips
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.