Bug 291055 - [patch] mail/milter-regex: care variable MAILUSER (and newly added MAILGROUP) in pkg-plist
Summary: [patch] mail/milter-regex: care variable MAILUSER (and newly added MAILGROUP)...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-17 07:56 UTC by Yasuhito FUTATSUKI
Modified: 2025-11-18 09:15 UTC (History)
0 users

See Also:
dinoex: maintainer-feedback+


Attachments
a patch to care MAILUSER/MAILGROUP in pkg-plist (845 bytes, patch)
2025-11-17 07:56 UTC, Yasuhito FUTATSUKI
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhito FUTATSUKI 2025-11-17 07:56:18 UTC
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.
Comment 1 Dirk Meyer freebsd_committer freebsd_triage 2025-11-17 12:52:39 UTC
Thanks, patch looks fine, I will test it.
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-11-17 13:03:07 UTC
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(-)
Comment 3 Yasuhito FUTATSUKI 2025-11-18 09:15:49 UTC
Thank you for the quick resolution!