Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread Sebastian Arcus
On 17/06/16 14:49, RW wrote: On Fri, 17 Jun 2016 14:07:33 +0100 Sebastian Arcus wrote: Site-wide bayes files are owned by spamd. Regarding the daemon, it is started with --socketowner=spamd and socketpath=spamd. Is this enough, or should it be actually started with "su" as "spamd" user?

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread Matus UHLAR - fantomas
>> Site-wide bayes files are owned >> by spamd. Regarding the daemon, it is started with >> --socketowner=spamd and socketpath=spamd. Is this enough, or >> should it be actually started with "su" as "spamd" user? On 17.06.16 14:49, RW wrote: If you start it as root with the -u spamd (or

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread Reindl Harald
Am 17.06.2016 um 15:49 schrieb RW: and not bother with setting owner and group for the socket? Is there any particular reason for even using a socket file? unix sockets are faster the only particular reason for *not* usng sockets is when you need to access the daemon from other machines

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread RW
On Fri, 17 Jun 2016 14:07:33 +0100 Sebastian Arcus wrote: > > > >> Site-wide bayes files are owned > >> by spamd. Regarding the daemon, it is started with > >> --socketowner=spamd and socketpath=spamd. Is this enough, or > >> should it be actually started with "su" as "spamd" user? If you

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread Sebastian Arcus
On 16/06/16 18:46, Sebastian Arcus wrote: I have a particular server running spamd which uses bayes every time I test it by hand, but apparently never when it goes through exim/spamd. I run everything (both the spamd daemon and the manual tests) as user spamd. I checked the permissions on the

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread Sebastian Arcus
On 17/06/16 04:46, Bill Cole wrote: On 16 Jun 2016, at 13:46, Sebastian Arcus wrote: I have a particular server running spamd Which must run on a particular platform. Since SpamAssassin and Exim can run on a decade's worth of versions of at least 9 different OSs and one of those (Linux) has

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread Sebastian Arcus
On 17/06/16 13:42, Reindl Harald wrote: Am 17.06.2016 um 14:29 schrieb Sebastian Arcus: On 17/06/16 00:03, Reindl Harald wrote: Am 16.06.2016 um 19:46 schrieb Sebastian Arcus: I have a particular server running spamd which uses bayes every time I test it by hand, but apparently never when

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread Reindl Harald
Am 17.06.2016 um 14:29 schrieb Sebastian Arcus: On 17/06/16 00:03, Reindl Harald wrote: Am 16.06.2016 um 19:46 schrieb Sebastian Arcus: I have a particular server running spamd which uses bayes every time I test it by hand, but apparently never when it goes through exim/spamd then you

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread Sebastian Arcus
On 17/06/16 00:03, Reindl Harald wrote: Am 16.06.2016 um 19:46 schrieb Sebastian Arcus: I have a particular server running spamd which uses bayes every time I test it by hand, but apparently never when it goes through exim/spamd then you need to run it as the correct user or train it as the

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-17 Thread Sebastian Arcus
On 17/06/16 03:46, Yu Qian wrote: you can use spamd -D to check the log for exactly what bayes db path your spamd was using. Thank Yu. Based on the output below, it appears to find and use the sitewide bayes files ok: # spamd -D 2>&1 | grep -i bayes Jun 17 13:32:51.719 [4380] dbg: plugin:

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-16 Thread Bill Cole
On 16 Jun 2016, at 13:46, Sebastian Arcus wrote: I have a particular server running spamd Which must run on a particular platform. Since SpamAssassin and Exim can run on a decade's worth of versions of at least 9 different OSs and one of those (Linux) has about a half-dozen distinctly

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-16 Thread Yu Qian
you can use spamd -D to check the log for exactly what bayes db path your spamd was using. --- Yu Qian Ottawa Ontario Phone: (514)-553-0198 On Thu, Jun 16, 2016 at 7:03 PM, Reindl Harald wrote: > > > Am 16.06.2016 um 19:46 schrieb Sebastian Arcus: > >> I have a

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-16 Thread Reindl Harald
Am 16.06.2016 um 19:46 schrieb Sebastian Arcus: I have a particular server running spamd which uses bayes every time I test it by hand, but apparently never when it goes through exim/spamd then you need to run it as the correct user or train it as the correct user signature.asc

Re: Spamassassin uses bayes, but spamd doesn't

2016-06-16 Thread Bowie Bailey
On 6/16/2016 1:46 PM, Sebastian Arcus wrote: I have a particular server running spamd which uses bayes every time I test it by hand, but apparently never when it goes through exim/spamd. I run everything (both the spamd daemon and the manual tests) as user spamd. I checked the permissions on

Spamassassin uses bayes, but spamd doesn't

2016-06-16 Thread Sebastian Arcus
I have a particular server running spamd which uses bayes every time I test it by hand, but apparently never when it goes through exim/spamd. I run everything (both the spamd daemon and the manual tests) as user spamd. I checked the permissions on the bayes database. I use a global bayes