procmail
[Top] [All Lists]

Re: Forwarding to a list

1997-06-04 01:28:00
      BTW, does anyone have a procmail recipe that will total up volume 
and numbers of messages?

Alright, this is just off the top of my head; hyave no idea weather it'll
work or not; but here goes . . .

:0c
* !^FROM_DAEMON
* !^from:(_dot_)*your(_at_)host(_dot_)domain
* !^x-loop:(_dot_)*youeaddress(_at_)host(_dot_)domain
{
num =| cat $home/num.bc

:0: num.bc.lock
| (/dev/null ; echo -n "${num}+1" | bc >bc.tmp ; mv bc.tmp num.bc)
}

Again, no idea if that'll work, or not.

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