On Thu, 14 Dec 2006, Theo Van Dinter wrote:
On Thu, Dec 14, 2006 at 11:59:26AM -0500, Dan Mahoney, System Admin wrote:
I'm looking for an easy way to override ALL scanning (NOT scoring) for a
specific user.
Don't send mails for that user to SA.
At the moment, that's a hack in the system-wide procmailrc that I don't
know how to do, since the only thing procmail knows about userspace is
"dropprivs="yes"", and there's no translation for an easy way to equate
that to email address (i.e. it allows me to do it per *domain* not per
user, i.e. [EMAIL PROTECTED], but if a user has two domains, then I'd have to
do them each separately).
what I want instead is some special way that SA will say "nope, not even
testing" and "short circuit".
At the moment, you can't do that.
This shouldn't be a difficult feature to implement at all -- I'd imagine
about three lines of code :)
There's code in 3.2 to do it, but it's still the most efficient to just not
call SA for mails you don't want scanned (SA will still need to do all the
processing to start looking at the mail, until it realizes that the mail is
whitelisted or whatever, and then stop processing).
Presuming we're looking for the value of the "user" based on the email
address, yes, I understand, but can't you check the value of -u before you
even do that? (i.e. at the earliest point)
-Dan
--
"A mother can be an inspiration to her little son, change his thoughts,
his mind, his life, just with her gentle hum."
-No Doubt, "Different People", from "Tragic Kingdom"
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------