Re: Permissions error when sending to mailing list after upgrade to v.7.3.0
On 15.08.2023 08:25, Thomas Bohl wrote: Hello, I just found that my mailing lists have stopped working after the upgrade with the following error: /usr/bin/mlmmj-receive[102515]: mlmmj-receive.c:122: Could not stat /var/vmail/mlmmj/domain/listname/: Permission denied I recall reading the delivery user was changed at some point. Was it delivered by root before? Only mails to root where delivered as root. But that possibility was removed for security reasons. What user/permissions should I give the directory now? It must be owned by the user who makes the delivery. Is vmail or mlmmj a system user? man forward ... Permissions on the .forward file are very strict and expansion is rejected if the file is group or world-writable; if the home directory is group writeable; or if the file is not owned by the user. I've been using mlmmj with this in the .forward file: |/usr/bin/mlmmj-receive -L /var/vmail/mlmmj/domain/list/ Permissions 0700 and 0600 on /var/vmail/mlmmj and vmail:vmail user/group. These worked with v6.8.0.
Re: Permissions error when sending to mailing list after upgrade to v.7.3.0
Hello, I just found that my mailing lists have stopped working after the upgrade with the following error: /usr/bin/mlmmj-receive[102515]: mlmmj-receive.c:122: Could not stat /var/vmail/mlmmj/domain/listname/: Permission denied I recall reading the delivery user was changed at some point. Was it delivered by root before? Only mails to root where delivered as root. But that possibility was removed for security reasons. What user/permissions should I give the directory now? It must be owned by the user who makes the delivery. Is vmail or mlmmj a system user? man forward ... Permissions on the .forward file are very strict and expansion is rejected if the file is group or world-writable; if the home directory is group writeable; or if the file is not owned by the user.
Re: Permissions error when sending to mailing list after upgrade to v.7.3.0
On 14.08.2023 11:29, Reio Remma wrote: Hello! I just found that my mailing lists have stopped working after the upgrade with the following error: /usr/bin/mlmmj-receive[102515]: mlmmj-receive.c:122: Could not stat /var/vmail/mlmmj/domain/listname/: Permission denied I recall reading the delivery user was changed at some point. Was it delivered by root before? What user/permissions should I give the directory now? After changing /var/vmail/mlmmj ownership to smtpd:smtpd I'm getting a new error: warn: smtpd: /var/vmail/mlmmj/domain/listname/.forward: unsecure file 1dd7ff441affc273 smtp failed-command command="RCPT TO:" result="424 4.2.4 Mailing list expansion problem: " The actual .forward file has 0400 permissions. Reio
Permissions error when sending to mailing list after upgrade to v.7.3.0
Hello! I just found that my mailing lists have stopped working after the upgrade with the following error: /usr/bin/mlmmj-receive[102515]: mlmmj-receive.c:122: Could not stat /var/vmail/mlmmj/domain/listname/: Permission denied I recall reading the delivery user was changed at some point. Was it delivered by root before? What user/permissions should I give the directory now? Thanks! Reio