I have already configured my mail client to write the Message-Ids of
uninteresting messages in a plain text file called irrelevant_threads,
one per line:
that file will be emptied every two weeks by a cron job.
I am trying to write a recipe that does this:
if (new message has In-Reply-To header with a Message-Id contained in
(with "grep -qFf" or similar systems which don't assume the
existance of databases, perl modules and so on)
append the Message-Id of the new message to .irrelevant_threads
save the new message only in $MAILDIR/irrelevant_list_threads
how would you write this recipe? Frankly, I've never tried something
so complex (for me of course) so I'd really appreciate your help here!
0) I am aware that this will _also_ hide "new" threads made replying
to the last received message and changing the subject, and that's
fine with me
1) I _have_ already found and read
and the corresponding thread in the procmail list archives, but I'll
confess I'm confused. Does it _really_ have to be so complicated? The
recipe "flow diagram" above is just one check and two consecutive
actions if the check succeeds. Maybe I'm naive, but I was expecting
the recipe to be more or less the same length (3/4 lines). What am
Thank you in advance for any feedback!
procmail mailing list Procmail homepage: http://www.procmail.org/