You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by "Dan Mahoney, System Admin" <da...@prime.gushi.org> on 2005/06/30 06:56:27 UTC

Passing a user to spamc with DROP_PRIVS=YES (fwd)

Hey all...

The subject says it all.

Basically, what I am looking to do is rework my SQL preferences so that instead 
of being $username they are $username@server (so that multiple machines can 
have different policies).

Right now I don't pass any arguments to spamc (except the hostname and -S for 
SSL).

What I'd like to do is call procmail with something that would call my local 
user names with an @prime.gushi.org suffix.  (And another user on another box 
would have @theirdomain.com)

I'm just curious as to if anyone knows how to get the current username in the 
context of a procmail recipe and use it as part of the spamc args?

Thanks,

Dan

--

"Of course she's gonna be upset!  You're dealing with a woman here Dan, what 
the hell's wrong with you?"

-S. Kennedy, 11/11/01

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------