I restarted it and that did not fix it. Here is my opendkim config: # This is a simple config file for signing and verifying
#LogWhy yes Syslog yes SyslogSuccess yes Canonicalization relaxed/relaxed Domain example.com Selector default KeyFile /var/lib/opendkim/example.com.private #Socket inet:8891@localhost # To use a local socket instead, specify a path here. The "standard" # location is under /run/opendkim, and it's best to agree # on that directory so that various init systems can configure its # permissions and ownership automatically. #Socket local:/run/opendkim/opendkim.sock ReportAddress [email protected] SendReports yes ## Hosts to sign email for - 127.0.0.1 is default ## See the OPERATION section of opendkim(8) for more information # # InternalHosts 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12 ## For secondary mailservers - indicates not to sign or verify messages ## from these hosts # # PeerList X.X.X.X # PidFile /run/opendkim.pid # The UMask is really only used for the PID file (root:root) and the # local UNIX socket, if you're using one. It should be 0117 for the # socket. UMask 0117 UserID opendkim # For use with unbound #TrustAnchorFile /etc/dnssec/root-anchors.txt KeyTable file:/etc/postfix/dkim/keytable SigningTable refile:/etc/postfix/dkim/signingtable InternalHosts refile:/etc/postfix/dkim/trustedhosts Socket unix:/run/opendkim/opendkim.sock On Thu, Jun 2, 2022 at 6:17 PM Nathan Dehnel <[email protected]> wrote: > > I restarted it and that did not fix it. Here is my opendkim config: > > On Thu, Jun 2, 2022 at 4:36 AM Benny Pedersen <[email protected]> wrote: > > > > On 2022-06-02 00:34, Nathan Dehnel wrote: > > > I had a working email server until I changed the unix login password > > > for a user, and now postfix errors when mail is sent to that user, and > > > the mail does not appear in the inbox. How can I fix this? Thanks > > > > > > postfix.service: > > > > > > Jun 01 17:15:50 gentooserver postfix/submission/smtpd[3380]: connect > > > from unknown[10.0.0.152] > > > Jun 01 17:15:50 gentooserver postfix/submission/smtpd[3380]: warning: > > > connect to Milter service unix:/run/opendkim/opendkim.sock: No such > > > file or directory > > > > restart opendkim > > > > if opendkim is running check sock path is equal to what is in postfix
