Marc Rackett asked,
| I was wondering if any of you procmail/regular expression
| gurus could explain the following syntax:
|
| !^Subject: send file .*[/.]\.
|
| ^ from here
If the subject contains "send file" but then tries to include "/." or ".."
in the name of the file, the condition fails and the archive request will not
be processed.
The point is to reject archive requests for a file whose name contains ".."
(translation: no attempting to get up into directories other than the archive
directory and its own subdirectories) or "/." (translation: no dotfiles, not
even from otherwise permitted directories).