On Sun, 9 Jun 1996, Pekka Koski wrote:
On Sat, 8 Jun 1996, Wotan wrote:
This is what I use to eliminate garbage from the known bozos.
#Set values
FROM=`$FORMAIL -zrx To:| sed -e 's/@netcom[0-9.]*.*//'`
BOZOS=$PMDIR/.nobozo # No ack wanted
Excuse my ignorance, but what happens at the above lines?
The FROM line just generates an address. Since netcom has 23 different
shell machines, every pserson using a shell account here has 25 possible
e-mail addresses. I use sed to narrow this down to the lowest common
denominator (the username) so that I don't need to deal with all possible
variants of someones address. (Idea gotten from Dallman Ross.)
BOZOS is jsut the pathname to the directory where i keep my list of bozos.
What do you have in your $FORMAIL? Formail here
coughs when given -z parameter :)
Good question. :)
The latest version (I think). Since there are several versions of
formail on Netcom, I use test to find one that is currently available;
and then set FORMAIL to its path.