Hallo,
ich habe opendkim auf 3 Linux System erfolgreich installiert. Auf dem 4. System
raspibyrry 4b mit Linux 5.10.203-V71 kommt immer ein Fehlermeldung wenn
ich eine Mail verschicke
Die Rechte aller Dateien sind identisch mit meinen anderen 3 Installationen. Auf dem Raspi läuft es aber nur wenn in opendkim.conf ein Parameter "RequireSafeKeys false" gesetzt ist. Wenn dieser Parameter nicht gesetzt ist kommt es ebenfalls zu der obigen Fehlermeldung zusätzlich eine weitere Fehlermeldung "error loading 'key dkim,_domainkey.raspi2.owl.de' und die Mail wird nicht verschickt. Der Parameter ist in den anderen Installationen nicht vorhanden.
Die Rechte der opendkim Dateien
rw-r--r-- 1 opendkim opendkim 3818 Jun 15 07:52 opendkim.conf
opendkim:
insgesamt 32
drwxr-xr-x 3 opendkim opendkim 4096 Jun 15 07:56 .
drwxr-xr-x 103 root root 4096 Jun 15 07:52 ..
drwx------ 2 opendkim opendkim 4096 Jun 14 22:05 keys
-rw-r--r-- 1 opendkim opendkim 83 Jun 14 22:05 key.table
-rw-r--r-- 1 opendkim opendkim 48 Jun 14 14:34 signing.table
-rw-r--r-- 1 opendkim opendkim 75 Jun 14 22:37 trusted.hosts
opendkim/keys:
insgesamt 16
drwx------ 2 opendkim opendkim 4096 Jun 14 22:05 .
drwxr-xr-x 3 opendkim opendkim 4096 Jun 15 07:56 ..
-rw------- 1 opendkim opendkim 1675 Jun 14 22:01 dkim.private
-rw------- 1 opendkim opendkim 512 Jun 14 22:01 dkim.txt
The problem is solved. From a raspi support group came
the crucial hint. The / directory has the right 777 instead
of 755. I have change the right of the directory und remove
the parameter from the opendim.conf. Now ist works perfectly