
At 21:30 -0500 08 Mar 2001, Peter Hartzler <pete@hartzler.net> wrote:
On Thu, 8 Mar 2001, Munday, Merrick wrote:
Well, you're the FAQ moderator, so I don't want to contradict you in public, but in the rc.custom file there is a place for a moderators' password. If set, the password must be placed after the moderators' email address in the approved header. However, AFAIK there must be a space, not an underscore, separating the email from the password.
While this will work, it's not entirely accurate. The moderator's address part is never needed. If $moderator_PASSWORD isn't set the contents of the approved header don't matter. If it is set, something in the header must match the $moderator_PASSWORD regular expression. Bassically the entire moderation process is handled by the following procmail recipe in rc.submit: :0 * !$^Approved:.*$moderator_PASSWORD | formail -R"From X-Envelope-From:" -uDate: -iReturn-Receipt-To: \ -iRead-Receipt-To: -iAcknowledge-To: | \ $SENDMAIL $sendmailOPT `cat moderators` Because of the ".*", it doesn't matter what comes before or after the password. -- Aaron Schrab aaron@schrab.com http://www.execpc.com/~aarons/ "All language designers are arrogant. Goes with the territory..." -- Larry Wall