[Bug 276704] mail/opendkim fail to start with lua54 if lua files is really specified

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Jan 2024 05:17:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276704

            Bug ID: 276704
           Summary: mail/opendkim fail to start with lua54 if lua files is
                    really specified
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd-bug-report-yf@yf.bsdclub.org
                CC: freebsd-ports@dan.me.uk
                CC: freebsd-ports@dan.me.uk
             Flags: maintainer-feedback?(freebsd-ports@dan.me.uk)

milter-opendkim with liblua-5.4 cannot start if lua file is really specified in
opendkim.conf.
It crash by signal 6(SIGABRT).

My opendkim.conf (masking real domain):
[[[
AuthservID              mail.example.com
Canonicalization        relaxed/relaxed
KeyTable        /usr/local/etc/mail/opendkim/KeyTable
Mode                    sv
OverSignHeaders From
PidFile /var/run/opendkim/opendkim.pid
ReportAddress           "DKIM Error Postmaster" <postmaster@example.com>
Selector                default
SignHeaders    
From,Reply-To,Subject,Date,To,Cc,Resent-Date,Resent-From,Resent-Sender,Resent-To,Resent-cc,In-Reply-To,References,List-Id,List-Unsubscribe,List-Post,List-Owner,List-Archive,Sender
SetupPolicyScript       /usr/local/etc/mail/opendkim/setup.lua
Socket                  local:/var/run/opendkim/opendkim.sock
Syslog                  Yes
UMask                   002
Userid  mailnull:mailnull
]]]

If /usr/local/etc/mail/opendkim/setup.lua is not exists or cannot read by
mailnull, the milter stops without signal 6. Also opendkim build with lua52 can
start normally with above setting (and readable setup.lua file).

-- 
You are receiving this mail because:
You are the assignee for the bug.