setup also opendkim and will appear now the error "key data is not secure: / is writeable and owned by uid 110 which is not the executing uid (115)"
it's seem that i have permission issue?

# opendkim -V
    opendkim: OpenDKIM Filter v2.11.0
    Compiled with OpenSSL 1.1.1n  15 Mar 2022

systemctl
nmail opendkim: nmail._domainkey.caloro.ch: key data is not secure: / is writeable and owned by uid 110 which is not the executing uid (115) or the superuser
nmail opendkim: CC0E640: not authenticated
nmail opendkim: CC0E640: DKIM verification successful
nmail opendkim: CC0E640: s=nmail d=caloro.ch SSL
nmail opendkim: nmail._domainkey.caloro.ch: key data is not secure: / is writeable and owned by uid 110 which is not the executing uid (115) or the superuser
nmail opendkim: 09D30: DKIM-Signature field added (s=nmail, d=caloro.ch)

iam also reading that this "opendkim-testkey: key not secure" would mean that DNSSEC
# opendkim-testkey -d caloro.ch -s nmail -vvvv
opendkim-testkey: using default configfile /etc/opendkim.conf
opendkim-testkey: key loaded from /etc/opendkim/key/dkim.key
opendkim-testkey: checking key 'nmail._domainkey.caloro.ch'
opendkim-testkey: key not secure
opendkim-testkey: PEM_read_bio_PrivateKey() failed error:0909006C:PEM routines:get_name:no start line

cat /etc/passwd /etc/group | grep 115 110
postfix:x:115:
postfix:x:109:115::/var/spool/postfix:/bin/false
opendkim:x:115:121::/var/run/opendkim:/bin/false
messagebus:x:110:
messagebus:x:105:110::/var/run/dbus:/bin/false
bind:x:110:117::/var/cache/bind:/bin/false

File and owner Security also are correct

/etc/bind# ls -la /etc/opendkim/key/
-rw------- 1 opendkim opendkim   51 Jun 26 22:50 dkim.key
-rw------- 1 opendkim opendkim 1675 Jun 26 22:50 nmail.private
-rw------- 1 opendkim opendkim  506 Jun 26 22:50 nmail.txt

thanks for any help
regards

Reply via email to