What’s the output of:

ls -al /var/run/opendkim
groups postfix | grep opendkim
postconf | grep smtpd_milters

Is postfix running in a chroot? See master.cf.


Here are settings that work:

/etc/opendkim.conf:
------------------------------------------------------------------------
UserID  opendkim
UMask   0117
Socket  local:/var/spool/postfix/opendkim/opendkim.sock
PidFile /run/opendkim/opendkim.pid
------------------------------------------------------------------------

$ sudo ls -al /var/spool/postfix/opendkim
total 4
drwxr-x---  2 opendkim opendkim   27 Dec  9 19:52 .
drwxr-xr-x 26 root     root     4096 May 24  2023 ..
srw-rw----  1 opendkim opendkim    0 Dec  9 19:52 opendkim.sock

$ groups postfix | grep opendkim
postfix : postfix opendkim […]

$ postconf | grep smtpd_milters
non_smtpd_milters = $smtpd_milters
smtpd_milters = […] unix:opendkim/opendkim.sock […]


Do follow a sensible tutorial such as:
https://wiki.debian.org/opendkim

The segmentation fault is surprising to me, though. It may also indicate
that you have a really unusual system that no one else has.

Reply via email to