Created attachment 265464 [details] a patch to care MAILUSER/MAILGROUP in pkg-plist When build time, make variable MAILUSER is used for embeding run time UID for milter-regex. However the SPOOLDIR, which is used for unix domain socket and pid file, is always owned by mailnull:mail. This is a pity for postfix user. This patch allows user to create SPOOLDIR with user specified owner/group, specified by MAILUSER and MAILGROUP.
Thanks, patch looks fine, I will test it.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=85b03a3163a9067b5433ffd5ac9bc238d99e4d38 commit 85b03a3163a9067b5433ffd5ac9bc238d99e4d38 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2025-11-17 13:02:36 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2025-11-17 13:02:36 +0000 mail/milter-regex: fix custom MAILUSER, add custom MAILGROUP PR: 291055 mail/milter-regex/Makefile | 3 ++- mail/milter-regex/pkg-plist | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
Thank you for the quick resolution!