So my opendkim file is located here: /var/spool/postfix/opendkim/opendkim.sock Do I need to move that, or is that location OK? As for the opendmarc.sock, I was not able to locate that file on my system.
On Thu, Nov 11, 2021 at 9:12 PM raf <post...@raf.org> wrote: > On Thu, Nov 11, 2021 at 06:39:27PM -0500, bobby < > architectofthefut...@gmail.com> wrote: > > > I see this error message in my mail.log file: > > Nov 11 19:37:52 mail postfix/smtpd[5942]: warning: connect to Milter > > service local:opendmarc/opendmarc.sock: No such file or directory > > In the main.cf file, I have this line: > > smtpd_milters = > local:opendkim/opendkim.sock,local:opendmarc/opendmarc.sock, > > local:spamass/spamass.sock > > Firstly, while "local:" does work (for obscure reasons), it's not > documented, > and should be "unix:" instead. > > Secondly, the socket paths should either have "/run/" > or "/var/run/" at the start. This is assuming that the > sockets are in either of these two pairs of locations: > > /var/spool/postfix/run/opendkim/opendkim.sock > /var/spool/postfix/run/opendmarc/opendmarc.sock > > /var/spool/postfix/var/run/opendkim/opendkim.sock > /var/spool/postfix/var/run/opendmarc/opendmarc.sock > > See your /etc/opendkim.conf and /etc/opendmarc.conf to > see the real paths. Sometimes it's in /var/run. > Sometimes it's in /run. Sometimes it's neither. Your > config assumes: > > /var/spool/postfix/opendkim/opendkim.sock > /var/spool/postfix/opendmarc/opendmarc.sock > > And that's probably incorrect. > > cheers, > raf > >