> Since amavisd-new does not run as root, you need to run this as > the amavis user in order to see amavis' data. > > su amavis -c 'sa-learn --dump magic' > or > sudo -H -u amavis sa-learn --dump magic > > Gary V
the bayes files are specified in the global SA config file, running it as either user results in same. I have tried this. I will also point out that the bayes files are owned by amavis. Again, running spamassassin manually as the amavis user results in a valid bayes score (running in debug shows correct location of bayes files to be used). -Mikel- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
