Re: problems updating when using a cron job on debian 11

2021-09-04 Thread Matus UHLAR - fantomas
Le 02/09/2021 à 20:49, Bill Cole a écrit : so what is the real problem with sa-update not working under spamassassin's own user when on a cron job on debian 11 ? You need to run the sa-update cron job as the same user that INSTALLED SpamAssassin, the user who OWNS the local state directory (i

Re: problems updating when using a cron job on debian 11

2021-09-03 Thread Bill Cole
On 2021-09-02 at 18:55:21 UTC-0400 (Fri, 3 Sep 2021 00:55:21 +0200) Jean-François Bachelet is rumored to have said: of course it was installed by root, btw, what is the point to have a user 'spamd' or debian-spamd' created if it is of no use ? The definitive answer for your case would have to

Re: problems updating when using a cron job on debian 11

2021-09-03 Thread Jared Hall
Jean-François Bachelet wrote: Hello bob ^^) 1) OK.  Relevant perms on an Ubuntu system: /var/lib is 755 owned by root /var/lib/spamassassin is 755 owned by debian-spamd /var/lib/spamassassin/3.004006 is owned by root (installer) /var/lib/spamassassin/compiled is owned by debian-spamd /var/lib

Re: problems updating when using a cron job on debian 11

2021-09-03 Thread Jean-François Bachelet
Le 03/09/2021 à 14:13, Reindl Harald a écrit : On 03.09.21 11:23, Jean-François Bachelet wrote: Le 03/09/2021 à 09:11, Bob Proulx a écrit : Jean-François Bachelet wrote: Le 02/09/2021 à 13:07, Antony Stone a écrit : How did you install it? 'apt install' spamassassin spamc    (as all the o

Re: problems updating when using a cron job on debian 11

2021-09-03 Thread Antony Stone
On Friday 03 September 2021 at 11:23:19, Jean-François Bachelet wrote: > Le 03/09/2021 à 09:11, Bob Proulx a écrit : > > Jean-François Bachelet wrote: > > > >> user create > >> 'useradd -u 5001 -g spamd -s /sbin/nologin -d /var/lib/spamassassin > >> spamd' mkdir /var/lib/spamassassin > >> chown -R

Re: problems updating when using a cron job on debian 11

2021-09-03 Thread Jean-François Bachelet
Hello bob ^^) Le 03/09/2021 à 09:11, Bob Proulx a écrit : Jean-François Bachelet wrote: Le 02/09/2021 à 13:07, Antony Stone a écrit : How did you install it? 'apt install' spamassassin spamc(as all the other stuff that works on that server.) At that moment permissions were correct and

Re: problems updating when using a cron job on debian 11

2021-09-03 Thread Bob Proulx
Jean-François Bachelet wrote: > Le 02/09/2021 à 13:07, Antony Stone a écrit : > > How did you install it? > > 'apt install' spamassassin spamc(as all the other stuff that works on > that server.) At that moment permissions were correct and everything was set to work correctly. > then, > use

Re: problems updating when using a cron job on debian 11

2021-09-02 Thread Admin
Hello ^^) Le 02/09/2021 à 20:49, Bill Cole a écrit : On 2021-09-02 at 06:03:22 UTC-0400 (Thu, 2 Sep 2021 12:03:22 +0200) Jean-François Bachelet is rumored to have said: Hello folks ^^) I've installed the latest spamassassin version on a new Debian 11 server and configured it to work with

Re: problems updating when using a cron job on debian 11

2021-09-02 Thread Jean-François Bachelet
Re Hello ^^) Le 02/09/2021 à 20:49, Bill Cole a écrit : On 2021-09-02 at 06:03:22 UTC-0400 (Thu, 2 Sep 2021 12:03:22 +0200) Jean-François Bachelet is rumored to have said: Hello folks ^^) I've installed the latest spamassassin version on a new Debian 11 server and configured it to work wit

Re: problems updating when using a cron job on debian 11

2021-09-02 Thread Jean-François Bachelet
Hello ^^) Le 02/09/2021 à 13:07, Antony Stone a écrit : On Thursday 02 September 2021 at 12:03:22, Jean-François Bachelet wrote: Hello folks ^^) I've installed the latest spamassassin version on a new Debian 11 server How did you install it? 'apt install' spamassassin spamc    (as all th

Re: problems updating when using a cron job on debian 11

2021-09-02 Thread Jean-François Bachelet
Hello ^^) Le 02/09/2021 à 13:04, David Bürgin a écrit : Hello Jeff, spamassassin got a user named 'spamd' and is run under it. Are you sure? Note the user and group: $ ls -ald /var/lib/spamassassin drwxr-xr-x 6 debian-spamd debian-spamd 81 Apr 3 06:15 /var/lib/spamassassin at isntall time

Re: problems updating when using a cron job on debian 11

2021-09-02 Thread Jean-François Bachelet
Hello ^^) Le 02/09/2021 à 20:49, Bill Cole a écrit : On 2021-09-02 at 06:03:22 UTC-0400 (Thu, 2 Sep 2021 12:03:22 +0200) Jean-François Bachelet is rumored to have said: Hello folks ^^) I've installed the latest spamassassin version on a new Debian 11 server and configured it to work with

Re: problems updating when using a cron job on debian 11

2021-09-02 Thread Bill Cole
On 2021-09-02 at 06:03:22 UTC-0400 (Thu, 2 Sep 2021 12:03:22 +0200) Jean-François Bachelet is rumored to have said: Hello folks ^^) I've installed the latest spamassassin version on a new Debian 11 server and configured it to work with Postfix, amavis-new, and clamav. spamassassin got a us

Re: problems updating when using a cron job on debian 11

2021-09-02 Thread Antony Stone
On Thursday 02 September 2021 at 12:03:22, Jean-François Bachelet wrote: > Hello folks ^^) > > > I've installed the latest spamassassin version on a new Debian 11 server How did you install it? Antony. -- Schrödinger's rule of data integrity: the condition of any backup is unknown until a

Re: problems updating when using a cron job on debian 11

2021-09-02 Thread David Bürgin
Hello Jeff, > spamassassin got a user named 'spamd' and is run under it. Are you sure? Note the user and group: $ ls -ald /var/lib/spamassassin drwxr-xr-x 6 debian-spamd debian-spamd 81 Apr 3 06:15 /var/lib/spamassassin Ciao, David