procmail
[Top] [All Lists]

Searching the body

1998-12-15 22:00:35

O.k., I give up!  What's wrong with this recipe?


:0
* ^From(_dot_)*batchman(_at_)slip\(_dot_)net
* B ?? http
$MAIL

:0
* ^From(_dot_)*batchman(_at_)slip\(_dot_)net
/u3/b/a/batchman/Mail/JUNK

The first is just a test recipe to see if I can catch web addresses in the
body of the mail so they'll go to the INBOX and I can get them with a pop
mail reader like Netscape.  The second is there just to keep it from
defaulting to the inbox...but, everything I send goes to the JUNK folder
without ever filtering for the http in the body...here's a snippet of the
log file:

procmail: Match on "(_dot_)*batchman(_at_)slip\(_dot_)net"
procmail: Match on "http"
procmail: Assigning "LASTFOLDER="
procmail: Opening ""
procmail: Error while writing to ""
procmail: Match on "(_dot_)*batchman(_at_)slip\(_dot_)net"
procmail: Assigning "LASTFOLDER=/u3/b/a/batchman/Mail/JUNK"
procmail: Opening "/u3/b/a/batchman/Mail/JUNK"
procmail: Acquiring kernel-lock
...etc....


The clue may be in the LASTFOLDER=, which is blank, and the following line
Opening "".  What's the clue trying to tell me?

Greg

<Prev in Thread] Current Thread [Next in Thread>