Russell Jones wrote: > Sorry if this is covered somewhere in the documentation, and if so > can someone be nice enough to point it to me :) I can't seem to > locate it. > > I would like to set spamassassin to use a site-wide configuration, so > that when I tell it to sa-learn, it will apply what it learns to > every single email account on the server. > > If someone can point me to the documentation and/or examples of how > to set this, I would be very grateful. > > Thanks!
man Mail::SpamAssassin::Conf Search for the bayes_path and bayes_file_mode settings. You need to create a bayes directory that is not relative to the user's home and set the mode so that everyone can read and write to it. Make sure to read the bayes_path description carefully. This is NOT a simple directory path. -- Bowie