Re: [sa-list] Re: [sa-list] Re: Way to skip scanning per-user?
by Theo Van Dinter other posts by this author
Dec 14 2006 9:36AM messages near this date
Re: [sa-list] Re: [sa-list] Re: Way to skip scanning per-user?
|
Tagging for spam mails
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
Thread:
Dan Mahoney
Neal Coffey
Dan Mahoney
John D. Hardin
Theo Van Dinter
Dan Mahoney
Theo Van Dinter
John D. Hardin
Dan Mahoney
Dan Mahoney
Theo Van Dinter
|