At 12:20 2008-02-11 -0600, Skip wrote:
I scan all of my spam at the server level with no per-user settings. I need
to add some per-user settings to a couple of recipients who are getting
bombarded with spam due to an "all_spam_to" configuration for a different
user. Changing the "all_spam_to" is not an option, so I need to do this
alternative. Can I use the same settings I am running at my server level at
my user level?
What you posted is spamassassin being invoked from procmail. If you need
help with SA, you should check an SA forum.
If you can specify an alternate configuration file when invoking SA, then
you could invoke it with an alternate configuration for certain
users. Using GROUPS is one way to identify those users, though a file that
you grep for user options would be another.
Using groups, you could do:
# if user is a member of the MAIL_NOSPAM group, subject them to filtering
* GROUPS ?? [ ]nospam\>
LOG="perform spam filtering"
Adjust as necessary for just invoking SA with alternate config files.
This method is preferrable over putting a bunch of hard-coded LOGNAMEs into
the procmailrc, because if you have a lot of users, that's just
stoopid. Much easier to administer them via groups.
It also makes it easy to select a group of users to send email
notifications to about upcoming changes to the spam config - those NOT
affected by the change needn't receive an email about it.
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
procmail mailing list Procmail homepage: http://www.procmail.org/