On Fri, Oct 31, 2025 at 09:55:26AM +0100, Omar Polo wrote:
<snip>
Changes in this release:
========================
- Don't reject single character AUTH PLAIN passwords.
- Fix address family typo (PF_INET->PF_INET6).
- Various documentation improvements.
- Removed support for world-writable mail spools.
- Updated contrib mail.local and lockspool.
- Don't die if garbage is being sent on the local socket.
<snip>
Artix Linux updated Opensmtpd to 7.8.0p0. This produced errors for me:
Nov 01 09:33:01 [lockspool] /var/mail: will not deliver to world-writable spool
Nov 01 09:33:01 [mail.local] lockspool: unable to get lock
The man page for mail.local says that 1777 or 755 are recommended for
/var/mail; mine was 1777. I tried 775, which allowed emails to be
written to /var/spool/mail/<user> but the user could only read them, not
move nor delete them. So I came up with the idea of changing the group
on /var/spool/mail to smtpq, putting my two users into that group in
/etc/group, and changing the permissions to 775 on /var/spool/mail.
This allows mail to be written there by mail.local and allows the user
to move or delete it.
What do you think? Will this cause me trouble somewhere else? Please
advise.
ax