procmail
[Top] [All Lists]

Re: counting messages since last login

1996-04-09 00:37:10
-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 8 Apr 1996, Timothy J. Luoma wrote:

Date: Mon, 8 Apr 1996 21:44:38 -0400 (EDT)
From: Timothy J. Luoma 
<luomat(_at_)cedman(_dot_)remote(_dot_)Princeton(_dot_)EDU>
To: Procmail Mailing List 
<procmail(_at_)informatik(_dot_)rwth-aachen(_dot_)de>
Subject: counting messages since last login

I am trying to keep a counter that will keep track of the number of
messages which have come in since the last login.

Right now I have a little script (count_mail) which does this in a file,
and I invoke the script for each message which comes through.  However,
there seems to be random times when I get an "error writing to
'count_mail'"

Sending in the recipe (and the script) might be useful for locating the 
problem. For now, I can only come up with this: are you using lockfiles?

Guy Geens <guy(_dot_)geens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be>: Ph.D. 
student at ELIS -- TFCG / IMEC 
Atypical civil engineer -- And proud of it!
(Please check out http://www.elis.rug.ac.be/ieeesb/civil.html)
Home Page: http://www.elis.rug.ac.be/ELISgroups/tfcg/staff/gg.html 
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use 
keyserver) 


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: pgp fingerprints in message headers

iQBVAwUBMWoSi3wHoCha5QR1AQGeZAIAv1KV4zKHqxxeMeCTDUwMrpm6Uew3tWxd
O0LXz1iuk4ACv4uzPDfBZHIeQsnpELEmpypmylY5bZYUTrbzuXpqjg==
=gn7t
-----END PGP SIGNATURE-----

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