From: Dave V. A. <da...@va...> - 2003-10-28 15:08:34
|
Larry, Glad you are posting this SA info. I can learn from it. FYI: I tried the SA2.60-1 or whatever # for my RH9.0 and it never releases when started (/etc/init.d/spamassassin start). Can see the process running, but have to do ctrl-c to stop, then it stops. Need to report to SA when time. It won't start from Webmin either. So I can't use spamd/spamc at this time. Maybe later I can get into it. Usermin: I have a couple of users now running usermin to do their spam management. We having learned about adding rules yet. Just too busy. As to usermin with multiple domains, watch out for this "gotcha". If user logins in like this https://mydomain.com:20000/, From Address is correct . If user logs in like this https://nnn.nnn.nnn.nn:20000/, From address has IP address. Jamie knows about it. Dave On Tue, 2003-10-28 at 06:45, Larry Gilson wrote: > Hi Jamie, > > I hope the following is not too verbose. The question of what SA parses > comes up quite a bit on the SA list so I thought I would at least document > the answer here at the risk of overstating the answer. > > My test machine has the following files in /etc/mail/spamassassin: > > 90_custom.cf > local.cf > local.cf.rpmsave > local.cf.save > > The only files that will be parsed for rules are: > 90_custom.cf > local.cf > > I delete the unused files on the production machine as they are not used. > So the answer is yes, only the .cf files are processed in > /etc/mail/spamassassin and all others are ignored. > > The only files, at least that I know of, that SA will use for rules or > configuration are *.cf (which includes local.cf) and user_prefs. SA will > process *.cf only in /etc/mail/spamassassin and /usr/share/spamassassin. > *.cf configuration files are considered site-wide configurations. > user_prefs are user configuration files and processed only when SA is > invoked by the user or in a site-wide configuration when spamc is forced to > use per-user config files via 'spamc -u'. The location of user_prefs is > $HOME/.spamassassin/ (which is the same location for auto-whitelist and > bayes files). By default, SA will ignore rules in user_prefs. The > administrator *must* set 'allow_user_rules 1' in local.cf to override this > default. This practice is highly discouraged for security reasons as well > as it places a large processing load on the system with more users. SA must > recompile all tests in user_prefs on a per-message basis. > > Not having used Usermin I might be off base here but I would think that if a > site configuration were to support processing rules in user_prefs, the > support would be better placed in Usermin rather than Webmin. > > --Larry > > > > > -----Original Message----- > > From: Jamie Cameron > > > > So only .cf files in /etc/mail/spamassassin are processed? I > > noticed a few other files in that directory that are not > > normal SpamAssassin configs, and thus presumably ignored .. > > > > - Jamie > > > > On Tue, 2003-10-28 at 16:24, Larry Gilson wrote: > > > All .cf files, with respect to custom rules, are treated equally. > > > I can send you a custom rule file if want an example. > > > > > > Thanks Jamie! > > > > > > --Larry > > > > > > > > > > -----Original Message----- > > > > From: Jamie Cameron > > > > > > > > Oops, I missed that comment. > > > > > > > > Being able to edit extra .cf files sounds like a good idea, > > > > and probably not too hard to add support for. So are all .cf > > > > files treated equally by spamassassin, or is local.cf special > > > > in some way? > > > > > > > > - Jamie > > > --snip-- > > > > ------------------------------------------------------- > This SF.net email is sponsored by: The SF.net Donation Program. > Do you like what SourceForge.net is doing for the Open > Source Community? Make a contribution, and help us add new > features and functionality. Click here: http://sourceforge.net/donate/ > - > Forwarded by the Webmin development list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel Dave Van Abel:) http://vanabel.com - Open Source Business Solutions http://perlsources.com - Open Source Applications http://ipnhosting.com - IPN Hosting Services http://mailchk.com - Dedicated Email Server with Spam Control 303-249-3855 (Colorado) 415-462-1573 (California) Yahoo Instant Messenger - dave_vanabel Yahoo Instant Messenger - dave_vanabel2 |