Thanks for fast Answer, yes Service postfix, opendkim, opendmarc restarted.

 

*       May 16 12:09:51 mail postfix/smtpd[25681]: warning: connect to Milter 
service unix:/var/spool/postfix/opendkim/opendkim.sock: No such file or 
directory
*       May 16 12:09:51 mail postfix/smtpd[25681]: warning: connect to Milter 
service unix:opendmarc/opendmarc.sock: Permission denied

 

cat /lib/systemd/system/opendkim.service | grep begin [Sevice]

>>[Service]

>>Type=forking

>>PIDFile=/var/spool/postfix/opendkim/opendkim.pid

>>UMask=0007

>>User=

>>Group=postfix

 

cat /lib/systemd/system/opendmarc.service | grep begin [Sevice]

>>[Service]

>>Type=forking

>>PIDFile=/var/run/opendmarc/opendmarc.pid

>>User=

>>Group=postfix

>>ExecStart=/usr/sbin/opendmarc

>>Restart=on-failure

>>ExecReload=/bin/kill -USR1 $MAINPID

 

 

 

---

Von: owner-postfix-us...@postfix.org <owner-postfix-us...@postfix.org> Im 
Auftrag von Francesc Peñalvez
Gesendet: Samstag, 16. Mai 2020 11:56
An: postfix-users@postfix.org
Betreff: Re: Permission failed opendkim.sock

 

in the /lib/systemd/system/opendmarc.service file add Group = postfix under 
User =
that will correctly create the sock with correct permissions

El 16/05/2020 a las 11:35, mauri...@caloro.ch <mailto:mauri...@caloro.ch>  
escribió:

Hello

Here i’am running with Debian Stretch and i have a littel undestanding 
mismatch, please help

 

Postfix write to me 

*       mail postfix/smtpd[4904]: warning: connect to Milter service 
unix:/var/spool/postfix/opendkim/opendkim.sock: No such file or directory
*       mail postfix/smtpd[4904]: warning  connect to Milter service 
unix:opendmarc/opendmarc.sock: Permission denied

 

But i think that i have given the right access – 

drwxr-xr-x  2 opendkim  postfix    4096 May 16 11:23 opendkim

*       -rw-rw----  1 root     root       5 May 16 11:23 opendkim.pid
*       srwxrwx---  1 opendkim postfix    0 May 16 11:23 opendkim.sock
*       root@mail:/var/spool/postfix/opendkim#

 

main.cf

*       smtpd_milters = 
unix:/var/spool/postfix/opendkim/opendkim.sock,unix:opendmarc/opendmarc.sock

 

opendkim.conf

*       UserID                opendkim:postfix

 

Thans

Mauri

 

Reply via email to