ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> spamassassin-users
spamassassin-users
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved