Would someone 'not faint of heart' take a look at the subscription rule?
(These came out of SmartList 3.11pre4.)
I send a nice, simple:
From tech(_at_)spectra2(_dot_)interex(_dot_)org Thu Oct 10 16:12:54 1996
From: tech(_at_)spectra2(_dot_)interex(_dot_)org (Technical Services)
To: test-l-request(_at_)spectra2(_dot_)interex(_dot_)org
Subject: subscribe
Please?
and get back a:
From list(_at_)interex(_dot_)org Thu Oct 10 16:21 PDT 1996
From: tech(_at_)interex(_dot_)org (Technical Services)
To: test-l-request(_at_)spectra2(_dot_)interex(_dot_)org
Subject: subscribe
X-Diagnostic: undecipherable, help sent
Please?
#$Id: rc.request,v 1.76 1995/10/30 02:09:13 srb Exp $
(snip)
#
# Is it a subscription request?
#
OOK="sub"
:0 EHB
* 9876543210^0 \
^^(.+$)*Subject:[ ]*([(<]no(ne| subject\
( (\(file transmission|given))?)[>)])?(\
($(.+$)*(^[ ]*)+((.+|$)+[,.:;]([ ]+|$)+)?)?\
(Could you )?(please )?\
(sign( [^ ]+ |-)?on|add|join|sub)\>|\
($(.+$)*$(.*$)*)?(.*[^a-z])?\
(sub?s(cr|c|r)i.*|(join|add .* to|(sign|put) .* on) .* [a-z-]*list\>))
* 1^0 B ?? ^^([ ]|$)*sub(scribe)?([ ].*)?([ ]|$)*\
[^ a-z]?^^
{
#
# Yes, well, then check if the person subscribing isn't on the reject list.
And here is what the log saith:
procmail: Assigning "OOK=sub"
procmail: Score: 0 0 "\
^^(.+$)*Subject:[ ]*([(<]no(ne| subject( (\(file
transmission|given))?)[>)])?(($(.+$)*(^[ ]*)+((.+|$)+[,.:;]([
]+|$)+)?)?(Could you )?(please )?(sign( [^ ]+
|-)?on|add|join|sub)\>|($(.+$)*$(.*$)*)?(.*[^a-z])?(sub?s(cr|c|r)i.*|(join|add
.* to|(sign|put) .* on) .* [a-z-]*list\>))"
procmail: Score: 0 0 "^^([ ]|$)*sub(scribe)?([ ].*)?([
]|$)*[^ a-z]?^^"
(snip)
procmail: Executing " formail -R"From X-From_:" -iDate: -iReturn-Receipt-To:
-iRead-Receipt-To: \
-iAcknowledge-To: | $SENDMAIL $sendmailOPT $sendmailOPTp $maintainer"
procmail: [20357] Thu Oct 10 16:13:04 1996
procmail: Assigning "LASTFOLDER= formail -R"From X-From_:" -iDate:
-iReturn-Receipt-To: -iRead-Receipt-To: \
-iAcknowledge-To: | $SENDMAIL $sendmailOPT $sendmailOPTp $maintainer"
From tech(_at_)spectra2(_dot_)interex(_dot_)org Thu Oct 10 16:12:54 1996
Subject: subscribe
Folder: formail -R"From X-From_:" -iDate: -iReturn-Receipt-To: -iRea 698
The unsubscribe rule is similar (in works in the body though!)
TIA!
Ashton