On Tue, Oct 15, 2024 at 8:40 PM Bill Oliver <bi...@billoblog.com> wrote:
> > I have mailman3 installed and mostly configured on a linux machine > running ubuntu 24.04. I can use mailmanweb to add and delete > mailinglists and users. However, mail is not getting delivered at all. > > I have both mysql and postgres installed -- I'm using postgres only for > mailman, and mysql for dovecot and postfix. > > Mail, in general, works fine. I'm hosting four virtual domains on this > box, and mail to and from all of them to many users gives me no errors. > > When I add a new user (and thus try to send a welcome message) > mail.err log gives me: > > 2024-10-15T12:40:11.193687-04:00 mail postfix/virtual[960838]: error: > open database /opt/mailman/mm/var/data/postfix_lmtp.db: Permission > denied > > I've tried playing with file permissions. I put postfix,mail, and vmail > in the mailman group, and tried giving ownership of postfix_domains, > postfix_lmtp, and postfix_vmap to user postfix, but that changed > nothing. Currently, it sits at: > > root:/opt/mailman/mm/var/data# ls -l > total 36 > -rw-rw-r-- 1 postfix mailman 0 Oct 15 12:53 postfic_vmap.db > -rw-rw-r-- 1 postfix mailman 12288 Oct 15 12:53 postfic_vmap.db.db > -rw-rw---- 1 postfix mailman 353 Oct 13 07:54 postfix_domains > -rw-rw-r-- 1 postfix mailman 0 Oct 15 12:53 postfix_domains.db > -rw-rw-r-- 1 postfix mailman 12288 Oct 15 12:53 postfix_domains.db.db > -rw-rw---- 1 postfix mailman 1155 Oct 13 07:54 postfix_lmtp > -rw-rw-r-- 1 postfix mailman 0 Oct 15 12:53 postfix_lmtp.db > -rw-rw-r-- 1 postfix mailman 12288 Oct 15 12:53 postfix_lmtp.db.db > -rw-rw---- 1 postfix mailman 1118 Oct 13 07:54 postfix_vmap > > > > So, I'm assuming this is a database permissions error, but I don't know > how to fix it. > /opt/mailman is supposed to be owned by the mailman user: See https://docs.mailman3.org/en/latest/install/virtualenv.html#setup-mailman-user Postfix is only supposed to read the files in /opt/mailman/mm/var/data, IIRC. If you followed the approved/official HOWTO - https://docs.mailman3.org/en/latest/install/virtualenv.html - then you really should not be having the problems you are facing. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] _______________________________________________ Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-le...@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/R2I33UDE64YKJKH6SSHRIE756OLAMJW3/ This message sent to arch...@mail-archive.com