I've been reading over a lot of old posts from the list on this, but I can't find a definitive answer. I see that a lot of people call `sa-learn' on a nightly basis to train spamassassin based on a common couple of missed-spam and not-spam mbox's. However, I can't tell who should run this. In my setup, I bypass spam checking in amavis, and let procmail feed spamd directly. In SuSE's default config, spamd runs as root, so my first guess is that root should run sa-learn. Would this be different if amavis were doing the spam checking? In that case, would it be appropriate to call sa-learn from the vscan account? I guess as I write this, the answers seem clear, but I want to make sure about this. I'm still having trouble grasping how mail flows through postfix, amavis, spamassassin, and wu-imap. (I've read through some things that tie several other things into this list. It boggles my mind to think about stacking, say, razor on top of it, switching to cyrus imap, and running with maildir's. One step at a time, I suppose.) Any other suggestions on how to get the most out of SuSE's default configs with the least about of frobbage would be greatly appreciated. TIA, dk
The Saturday 2005-01-01 at 08:50 -0500, David Krider wrote:
I've been reading over a lot of old posts from the list on this, but I can't find a definitive answer. I see that a lot of people call `sa-learn' on a nightly basis to train spamassassin based on a common couple of missed-spam and not-spam mbox's. However, I can't tell who should run this.
The same user as the one running the SA filter.
In my setup, I bypass spam checking in amavis, and let procmail feed spamd directly. In SuSE's default config, spamd runs as root, so my first guess is that root should run sa-learn. Would this be different if amavis were doing the spam checking? In that case, would it be appropriate to call sa-learn from the vscan account?
I understand you are running spamc from procmail; in that case, the user running procmail at that point is the relevant user. If you are using ~/.procmailrc, then it is your home user. If, instead, you call it from /etc/procmailrc, it might be root. Procmail changes (su) to a user before handling that user mail via its .procmailrc file, but that can also happen "in the botton half" of /etc/procmail -- Cheers, Carlos Robinson
On Monday 03 January 2005 02:24, Carlos E. R. wrote:
The Saturday 2005-01-01 at 08:50 -0500, David Krider wrote:
I've been reading over a lot of old posts from the list on this, but I can't find a definitive answer. I see that a lot of people call `sa-learn' on a nightly basis to train spamassassin based on a common couple of missed-spam and not-spam mbox's. However, I can't tell who should run this.
The same user as the one running the SA filter.
<several lines cut> Is there a way to get a "global" update to occur? I have several users on a machine, with separate mails. Do all of then need their own database? or is there a way to run spamassain for the whole group? (As that no doubtedly will increase the protection from unsolicited mails faster than on user-per-users basis) And in that case who should run the as-learn? -- /Rikard --------------------------------------------------------------- Rikard Johnels email : rikjoh@norweb.se Web : http://www.rikjoh.com Mob : +46 735 05 51 01 PGP : 0x461CEE56 ---------------------------------------------------------------
Is there a way to get a "global" update to occur?
Yes run sa-learn as a crontab line
I have several users on a machine, with separate mails. Do all of then need their own database?
I believe that i have read that SuSE is run as a group, So you only need to run it once. You dont want to be running this for every user. Though this was the trend in the past. Now companies dont do this as much. They find that employees play with this too much wasting there time. but for a small business or just a personal site this is possible... Neal http://www.justsuse.com
The Monday 2005-01-03 at 05:43 +0100, Rikard Johnels wrote:
The same user as the one running the SA filter.
<several lines cut>
Is there a way to get a "global" update to occur? I have several users on a machine, with separate mails. Do all of then need their own database? or is there a way to run spamassain for the whole group? (As that no doubtedly will increase the protection from unsolicited mails faster than on user-per-users basis) And in that case who should run the as-learn?
If you are running SA "per user", then the learn process must be run by each user. If you setu up SA globally (for example, via amavis-new) then only the user used by SA must run sa-learn. That is, I can not give you a definite answer unless I know what you are doing exactly. -- Cheers, Carlos Robinson
participants (4)
-
Carlos E. R.
-
David Krider
-
Rikard Johnels
-
suse-list