Re: Permissions error when sending to mailing list after upgrade to v.7.3.0

2023-08-14 Thread Thomas Bohl

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

2023-08-14 Thread Reio Remma

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

2023-08-14 Thread Reio Remma

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