Axel Heinrici wrote:
Am Sonntag, 29. September 2002 00:04 schrieb dman(_at_)nomotek(_dot_)com:
Before we get any further, can you clarify what good you think the
Message-IDs will do? You do know they won't likely be repeated
in new mail (except in very odd or very broken cases), right?
I want mail replied to corrupt mails to be dumped also. When someone
writes a mail without appropriate "In-Reply-To:.." in the header, and
another one replies to this, this reply also contains the
message-ID.... and so on. So the whole followup is dumped.
Hmm. An odd approach, but okay, I guess.
You can do this same thing totally within procmail, e.g.:
:0 hic: # caret, space and tab are in brackets below
* ! ^In-Reply-To:.*[^ ]
* ^Subect:(.*\<)?Re:
* ^Message-ID:.*<\/[^>]+
| echo $MATCH >> .falscheReplies
I am more familiar with awk then with procmail. So, this will
be nicer and probably faster, but it doesn't fix my problem.:-(..
Well, I think it probably helps the first part of your setup. . .
If you are going to check the same list right here, what will have
stopped a race condition such that the above action will
already have completed and you'll get a match on the very same mail?
This is OK in my oppinion.
Yes, I wasn't paying close attention. The condition you have for
no In-Reply-To: stuff to be parsed will handle this fine.
The rest of your proposal is a mess; unfortunately, I didn't
save the posted reply to Sean that showed your current version.
p.s. your mail does not contain an "In-Reply-To:" in the header. Why?
Why do you think it should?
--
Dallman Ross
"If you find a path with no obstacles, it probably does not lead to
anywhere."
Thoughts of Rev. Sunnan Kubose, from _Zen in the Markets_
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail