Re: Adding a header
Skip Montanaro <[email protected]> Wed, 18 Sep 2002 15:15:40 -0500
| Newsgroups | gmane.mail.ifile.general |
|---|---|
| Message-ID | <[email protected]> |
>> I did see that Martin Macok's scripts do this but would like this to
>> be come part of the distribution since it would allow an easily
>> portable solution for other clients.
Luke> This seems like a good idea to me, because then the categorization
Luke> and sorting into mailboxes stages could be seperated.
Luke> If there was an "X-ifile-category:" header, you could set procmail
Luke> up to filter "X-ifile-category: spam" messages to /dev/null while
Luke> "X-ifile-category: ifile-discuss" would go to your ifile folder. I
Luke> think writing procmail rules of this kind would be a lot
Luke> easier.
...
Luke> But maybe I'm off base here....
Not really, except for the bit about sending spam to /dev/null. No system
is perfect. You will get false positives.
I'm using Martin's scripts in my procmail setup and use it pretty much as
you describe. His scripts append an "X-Ifile-Hint: ..." header to the
message using formail.
--
Skip Montanaro - [email protected]
Gutters need to be cleaned in direct proportion to the strength of the rain.