On Thu, Dec 14, 2006 at 12:26:54PM -0500, Dan Mahoney, System Admin wrote:
> I'm running procmail with dropprivs=yes.  There's no easy procmail thing 
> for (getpwnam($<)) and I do NOT feel like firing up perl on every message 
> to evaluate that just to figure out if I should fire up the C program that 
> I use so I don't have to fire up perl.

There are environment variables with this kind of info.  Look at LOGNAME, for
instance.  Worst case, you could run "id -un" and get the information that
way.

-- 
Randomly Selected Tagline:
"To the engineer, the world is a toy box full of sub-optimized and
 feature-poor toys."            - Scott Adams

Attachment: pgp6WEjGGjW5r.pgp
Description: PGP signature

Reply via email to