On 14/1/22 11:44, Axel Rau wrote:
My current setup has
uid = www gid = www
in uwsgi.ini
Hi Axel. I'm running mailman3 in Fbsd too. I have the same uid and gid in uwsgi.ini (www)
But I see differences in owner in the files under ../var. These are mine:
/usr/local/mailman3/var # ls -la total 292 drwxr-xr-x 12 mailman mailman 512 Jan 14 06:39 . drwxr-xr-x 10 mailman mailman 1536 Jan 14 10:53 .. drwxr-xr-x 3 mailman mailman 512 Dec 24 2020 archives drwxr-xr-x 2 mailman mailman 512 Dec 23 2020 cache drwxr-xr-x 2 mailman mailman 512 Jan 14 06:39 data drwxr-xr-x 2 mailman mailman 512 Dec 20 2020 etc drwxr-xr-x 21 mailman mailman 1024 Jul 8 2021 lists drwxr-xr-x 2 mailman mailman 512 Jan 14 12:39 locks drwxr-xr-x 2 mailman mailman 512 Dec 23 2020 logs -rw-rw---- 1 mailman mailman 5 Jan 14 06:39 master.pid drwxr-xr-x 950 mailman mailman 11776 Dec 15 17:08 messages -rw-rw---- 1 mailman mailman 236797 Jan 12 21:03 public_suffix_list.dat drwxr-xr-x 14 mailman mailman 512 Dec 23 2020 queue drwxr-xr-x 3 mailman mailman 512 Dec 24 2020 templates
I've read your mail about your installation and I did it different. I followed the steps that I detailed in https://forums.freebsd.org/threads/mailman-3.61050/#post-488128
Thus I don't know if it can help, but I know for sure that I don't like that your ../var/etc dir is owned by root.
For DB access, I’m using client certs, where the key is only readable for owner, so I have 2 cert locations. One is configured in settings per OPTIONS in DATABASES The other uses the default location .postgresql und the mailman home.
Looking at var, I see:
(mailman_33) [root@lists5 /usr/local/mailman3/var]# ls -l total 46 drwxr-xr-x 2 mailman www 2 13 Jan. 17:32 archives drwxr-xr-x 2 mailman www 2 13 Jan. 17:32 cache drwxr-xr-x 2 mailman www 2 13 Jan. 17:32 data drwxr-xr-x 2 root www 4 13 Jan. 17:32 etc drwxr-xr-x 3 mailman www 3 13 Jan. 22:22 lists drwxr-xr-x 2 mailman www 4 14 Jan. 10:02 locks drwxr-xr-x 2 mailman www 7 13 Jan. 17:32 logs -rw-rw---- 1 mailman www 6 13 Jan. 17:32 master.pid drwxr-xr-x 2 mailman www 2 13 Jan. 17:32 messages drwxr-xr-x 14 mailman www 14 13 Jan. 17:32 queue drwxr-xr-x 2 mailman www 2 13 Jan. 17:32 templates
I could allow write access for group www, but I suspect other problems.
What is the recommended setting?
Axel
PGP-Key: CDE74120 ☀ computing @ chaos claudius
Mailman-users mailing list --mailman-users@mailman3.org To unsubscribe send an email tomailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
--
Mailman's content filtering has removed the following MIME parts from this message.
Content-Type: image/png Name: firma-GHP-emails.png
Replaced multipart/alternative part with first alternative.