I guess I should start from the top.
Originally I installed SA through the spamassassin way, not through spamd
(originally) I have changed to spamd because of the speed.
I have a site-wide config in /etc/mail/spamassassin/local.cf
I have it set to various things. The required_hits is 6.0.
I have some users on the system that want to have theirs set to a different
value.
I was going to have them use a user_prefs file in their home directory.
Assuming their names are dick and jane, both of which are accounts in
/etc/passwd.
So I have 2 files: /home/dick/.spamassassin/user_prefs and
/home/jane/.spamassassin/user_prefs
their files have some different values and rules, as well as required_hits
10.0
I am currently using the spamd file. Called by postfix:
spamfilter unix - n n - - pipe
flags=Rq user=spamfilter argv=/usr/local/bin/spamfilter.sh -f ${sender} --
${recipient}
spamfilter is a username I created to run the script:
#!/bin/bash
/usr/local/bin/spamc -f | /usr/sbin/sendmail -i "$@"
exit $?
It does not even touch those user_prefs files (checked it with the -D
option)
I have recently (within the hour) been told two things, both of which I am
not sure are true or not.
1) You should not use user_prefs with the spamd due to security risks.
2) I cannot have my MTA call the function. I have to have something like
procmail do the work.
So Bottom Line, This is what I am trying to accomplish. I have looked at
several websites... all of which work in their own way (have tried all of
them) but they dont' use the user_prefs.
I would like to have a global local.cf for those who do not have thier own
user_prefs file.
I would like to have the ability to scan for each user. based on that
user_prefs file.
I hope i have made sense.
----- Original Message -----
From: "Matt Kettler" <[EMAIL PROTECTED]>
To: "Alan Fullmer" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Thursday, September 11, 2003 8:14 PM
Subject: Re: [SAtalk] user_prefs
> At 08:03 PM 9/11/03 -0600, Alan Fullmer wrote:
> >my options i have ./spamd -d -c
>
> No.. what entries are you trying to put into the user_prefs itself that
> aren't working?
>
> If it's a rule, well then read the manpage.. rules are ignored in
> user_prefs when using spamd for security reasons.
>
> If it's some other option, specify what you put there.
>
>
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk