Responding To: mailbox <dnhunt(_at_)rain(_dot_)org>
Original Date: Sun, 5 Jan 1997 11:01:06 -0800 (PST)
Message-ID:
<Pine(_dot_)SUN(_dot_)3(_dot_)95(_dot_)970105103436(_dot_)19917A-100000(_at_)coyote(_dot_)rain(_dot_)org>
How do I check for ".." or "/" ?
I have them all in one folder
There is an example of a fileserver in the procmailex manpage. It
says that:
"it does not return files that have names starting with a dot, nor
does it allow files to be retieved that are outside the file
directory tree"
Here is a partial quote of the recipe:
:0
* ^Subject: send flie [0-9a-z]
* !^X-Loop: yourname(_at_)your(_dot_)address
* !^Subject:.*Re:
* !^FROM_DAEMON
* !^Subject: send file .*[/.]\.
It is the regular expression in the last condition line that
restricts what files will be delivered.
Strangely enough, that does not seem to be working for me:
* ^Subject:[ ]send-ascii *\/[^ ].*
* !^Subject:[ ]send-ascii .*[/.]\.
(there's a space and a tab in the first set of [ ])
am I doing something wrong?
TjL
--
Tj Luoma (luomat(_at_)peak(_dot_)org)
http://www.next.peak.org/~luomat
Awaiting Apple's NeXTStep