Milter (opendkim): error connecting to filter: Connection refused by 127.0.0.1

From: Chris, Di, Matthew and Sophie Stevenson <chris_at_hugin.com.au>
Date: Mon, 04 Jan 2016 22:57:09 +1100

 

Hi,

I am getting the following error in /var/log/mail/log and I need help I
do not know how to resolve.

Milter (opendkim): error connecting to filter: Connection refused by
127.0.0.1

----------

Running the latest version of ubuntu 15.10 with sendmail 8.14.9

sendmail.mc includes the line:

INPUT_MAIL_FILTER(`opendkim', `S=inet:8891_at_127.0.0.1')

-----------

netstat |grep 8891 Returns nothing.

-----------

When I start it Opendkim there doesn't seen to be a problem:

/etc/mail# sudo service opendkim status

● opendkim.service - DomainKeys Identified Mail (DKIM) Milter
 Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor
preset: enabled)
 Active: active (running) since Mon 2016-01-04 22:22:11 AEDT; 17min ago
 Docs: man:opendkim(8)
 man:opendkim.conf(5)
 man:opendkim-genkey(8)
 man:opendkim-genzone(8)
 man:opendkim-testadsp(8)
 man:opendkim-testkey
 http://www.opendkim.org/docs.html
 Process: 10805 ExecStart=/usr/sbin/opendkim -x /etc/opendkim.conf -u
opendkim -P /var/run/opendkim/opendkim.pid -p $SOCKET $DAEMON_OPTS
(code=exited, status=0/SUCCESS)
 Process: 10801 ExecStartPre=/bin/chown opendkim.opendkim
/var/run/opendkim (code=exited, status=0/SUCCESS)
 Process: 10799 ExecStartPre=/bin/mkdir -p /var/run/opendkim
(code=exited, status=0/SUCCESS)
 Main PID: 10807 (opendkim)
 CGroup: /system.slice/opendkim.service
 └─10807 /usr/sbin/opendkim -x /etc/opendkim.conf -u opendkim -P
/var/run/opendkim/opendkim.pid -p local:/var/run...

Jan 04 22:22:11 domain.com.au systemd[1]: Starting DomainKeys Identified
Mail (DKIM) Milter...
Jan 04 22:22:11 domain.com.au systemd[1]: Started DomainKeys Identified
Mail (DKIM) Milter.
Jan 04 22:22:11 domain.com.au opendkim[10807]: OpenDKIM Filter v2.10.3
starting (args: -x /etc/opendkim.conf -u opendki...sock)
Hint: Some lines were ellipsized, use -l to show in full.

-------------
 
Received on Mon Jan 04 2016 - 11:57:25 PST

This archive was generated by hypermail 2.3.0 : Mon Jan 04 2016 - 12:09:00 PST