- Modifié
Bonjour,
Je souhaite installer opendmarc sur ma RPI - Raspbian GNU/Linux 9.6 (stretch).
Voici le fichier de configuration:
vim /etc/opendmarc.conf
AutoRestart Yes AutoRestartRate 10/1h UMask
0002 Syslog trueAuthservID "hostname.domain.tld" TrustedAuthservIDs
"hostname.domain.tld" IgnoreHosts
/etc/opendkim/TrustedHosts IgnoreMailFrom "domain.tld"
RejectFailures falseUserID opendmarc:opendmarc PidFile
/var/run/opendmarc.pid Socket
local:/var/spool/postfix/opendmarc/opendmarc.sock
J'ai exécuté les commandes suivante (d'après le tutoriel Hardware sur le server mail):
mkdir /var/spool/postfix/opendmarc
chown opendmarc: /var/spool/postfix/opendmarc
usermod -aG opendmarc postfix
Mais lorsque je souhaite redémarrer le service:
systemctl restart opendmarc
J'ai l'erreur suivante:
Job for opendmarc.service failed because a timeout was exceeded.
See "systemctl status opendmarc.service" and "journalctl -xe" for details.
systemctl status opendmarc.service:
opendmarc.service: PID file /var/run/opendmarc/opendmarc.pid not readable (yet?) aftenov. 23 12:07:31 hostname opendmarc[6617]: can't write pid to /var/run/opendmarc.pid: Permission denied
systemctl status opendmarc
● opendmarc.service - OpenDMARC Milter
Loaded: loaded (/lib/systemd/system/opendmarc.service; disabled; vendor preset: enabled)
Active: activating (start) since Fri 2018-11-23 12:09:02 CET; 1min 29s ago
Docs: man:opendmarc(8)
man:opendmarc.conf(5)
Process: 6695 ExecStart=/usr/sbin/opendmarc (code=exited, status=0/SUCCESS)
CGroup: /system.slice/opendmarc.service
├─6696 /usr/sbin/opendmarc
└─6697 /usr/sbin/opendmarc
Pourquoi j'ai cette erreur de permission? Comment vérifier les droits pour opendmarc?
Je vous remercie pour votre aide.