On Thu, 14 Dec 2006, Coffey, Neal wrote:
Dan Mahoney, System Admin wrote:
I'm looking for an easy way to override ALL scanning (NOT scoring)
for a specific user.
This needs to be done in whatever you're using to call SpamAssassin
(postfix, exim, sendmail, etc).
This shouldn't be a difficult feature to implement at all -- I'd
imagine about three lines of code :)
How do you handle messages with multiple recipients? Not to mention
that the envelope "to" address(s) (who the mail is *actually* delivered
to) don't have to match the headers that SA sees.
I said per-user, not per email address. Spamd knows which local user is
doing the calling before it ever reads the first line of the message.
With spamassassin proper (assuming SQL prefs are in play), check $< or $>
-- with spamc/spamd, it's being communicated.
Since SA needs to be called by another program, and that program will be
aware of all of this, that's really the place to do the exemption.
See my previous message. I don't see an easy macro in procmail for the
current effective UID, nor do I know an easy way to say:
if (**my uid is any of these) {
}
else {
call spamassassin
}
Where as a bonus ** is generated dynamically.
If you can supply a snippet of code that does it, I'd love it. If I was
only doing scanning FOR a few select users this might make a bit more
sense, but it makes sense to me that this be a user_prefable item, as
opposed to my users asking me to edit /etc/procmailrc
-Dan
--
"SOY BOMB!"
-The Chest of the nameless streaker of the 1998 Grammy Awards' Bob Dylan
Performance.
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144 AIM: LarpGM
Site: http://www.gushi.org
---------------------------