procmail
[Top] [All Lists]

Error while writing to ...

2003-12-15 18:25:42

I'm trying to determine the source of the error message in the 3rd entry
in the log below.  The recipe and program are working despite the error
message.

I've turned on verbose logging and am waiting for the next virus.  The
first entry is a test email, the second an ordinary spam and the third is
a virus.  I was expecting the test and the virus to be handled in a
similar manner.  The virus email is relatively large, being 102k in size.


TO: header is <Alan Clifford <alan(_at_)clifford(_dot_)ac>>
Long line count = 6
From test(_at_)clifford(_dot_)ac  Tue Dec 16 00:15:07 2003
 Subject: test of mell (fwd)
  Folder: IN.zzzz.mell
2786

TO: header is <lists(_at_)clifford(_dot_)ac>
Long line count = 0
From zjrk545i(_at_)yahoo(_dot_)com  Tue Dec 16 00:17:36 2003
 Subject: US STOCK MARKET - NMMG - After Hours NEWS...kalkin
  Folder: IN.zzzz.spam
12128

TO: header is <<alan(_at_)clifford(_dot_)ac>>
procmail: Error while writing to " ${HOME}/.procmail/mell
${HOME}/.procmail/mell.data 2>/dev/null"
Long line count = 13
From mayville(_at_)maplesoft(_dot_)on(_dot_)ca  Tue Dec 16 00:24:34 2003
 Subject: Re: Details
  Folder: IN.zzzz.mell
100717


This is the recipe where the program "mell" checks to see if it has seen a
500 byte token before, and returns the number of occurances on stdout. The
token is output on stderr. More than 3 occurances and it is bit bucket
time.


# Check only the body
:0 bW : ${HOME}/.procmail/mell.data.lock
MELLCOUNT=| ${HOME}/.procmail/mell ${HOME}/.procmail/mell.data 2>/dev/null

LOG="Long line count = ${MELLCOUNT}
"

# intercept if the same long line has been found in 3 or more messages
:0
* -2^0
* $ ${MELLCOUNT}^0
{
  :0 fhw
  | formail -A "X-MELL-count: ${MELLCOUNT}"

  :0 :
  IN.zzzz.mell
}




-- 
Alan


( Please do not email me AS WELL as replying to the list.  Please
  address personal email to alan+1@ as lists@ is not read. A
  password autoresponder may be invoked if this email is very old. )


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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