Hi,
Trying to understand a config, and why it doesn't seem to do
what I want.. I got it off the net:
:0c
* 1^0 ^Content-Type:.*(multipart|attachment)
* 1^0 B ?? Hi\! How are you(\?|=3F)
* 1^0 B ?? I send you this file in order to have your advice
* 1^0 B ?? See you later(\.|=2E) Thanks
|(/usr/local/bin/formail -r -A "Precedence: junk" \
-I"Subject: Your Machine is infected with the Sircam Virus"; \
cat /usr/home/wwwcust1/crazies/sircam.txt)|$SENDMAIL -t
:0A:
/dev/null
Its a shortened version of a widely publicized SirCam procmail
config.
I get the :0c, generating a copy of it.
The first rule checks for the "^Content-Type:.*(multipart|attachment)"
regexp. I wonder, however, why its "1^0"'d, since you'd think that'd be
a MUST as well as atleast 1 of the others. Doing it this way would immediately
trigger the rule to run if any of the messages had ANY sort of attachment.
The next 3 rules look in the body for the regexps there, thats fine.
The next problem is that it just doesn't do the "|" action at all.
I've tried 6 ways to Sunday....
Then it does the ":0A:" no problem.
Any pointers as to why everyone is saying this is a viable script
when there looks to be some issues is appreciated.
Thanks, Tuc/TTSG Internet Services, Inc.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail