Ingo Reinhart wrote: > Hello! > > I want to use sa-learn on a diffrent server than spamd is running. How > can I tell sa-learn to connect to the right spamd? > > Ingo > >
sa-learn doesn't connect to spamd. Period. The only thing that ever connects to spamd in the SA package is spamc. If you're using a SQL backend for your bayes DB, you can change your configuration and point it at the same SQL server your spamd server uses. If you're just using local files for bayes db storage, what you want to do is impossible. Those files HAVE to be directly accessible from the host you run sa-learn on. You can use shared network drives via nfs, samba, or similar to make the bayes DB accessible, and pass sa-learn the --dbpath parameter, but a SQL solution would be a bit more stable and safe.