On Wed, Aug 14, 2002 at 11:07:06AM -0400, Charlie Summers wrote:
On our moderated lists, a simple password is placed in the Subject: header field.
That sounds like a nice idea - it would cope with non-text messages as well, unlike editing the body. Is the recipe/script(s) you're using freely available somewhere? Just picking the approval code from Subject: should be easy enough, but unmunging whatever moderator's MUA may have done while resending it sounds harder. Are you assuming Forward and picking the original From: from the message body and stripping any wrappings added (like "--- Begin forwarded message ---" and the like)? Doing that for MIME-coded message would be a little harder, but perhaps not too hard. It would need some research on how various MUAs handle forwarding, but those few I tried insert a new text-part in the very beginning of the message in a format that'd be easy to parse without heavy-duty MIME tools. Are you already doing that? If not, any reason why I shouldn't try it? Incidentally, instead of Subject: it should also be possible to use To: field to pass the approval, in the form To: Approved: moderator@somewhere password <list@listhost> That would have the advantage that "approval" could be defined as an alias or saved as an address in address book, and most MUAs have something like that available. Hmm. Are there some MUAs or MTAs around that could lose the comment part in the address on the way? Any other reasons not to do it that way? -- Tapani Tarvainen