procmail
[Top] [All Lists]

Re: procmail blues: grepping from /etc/passwd for "SEND" users...

2002-12-28 07:22:09
Thanks very much for your response...

:0
* ^From:[       ]*\/[^   ].
{
         FROM=$MATCH
}

I'm horrific with regular expressions and all that sort of thing, I'm
getting the above to match poff(_at_)sixbit(_dot_)org to po or the first 2 
characters
of an address...

:0
* ! USER ?? ^^^^
* ? grep -i "$USER" /etc/passwd
"sdf'ers"

This works great! Thanks for all your help, I ran grep -i "^$USER:" for
more accuracy.

Thanks a lot for you help,

Poff

poff(_at_)sixbit(_dot_)org
SDF Public Access UNIX System - http://sdf.lonestar.org


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