I'm on Ubuntu 16 LTS, trying to sign mail with opendkim
and I'm getting:
$ tail /var/log/mail.err
...
Milter (opendkim): error connecting to filter: Connection refused by localhost
I have sendmail
configured with:
INPUT_MAIL_FILTER(`opendkim', `S=inet:8891@localhost')dnl
And in /etc/opendkim.conf
I have:
Socket inet:8891@localhost
When I check with lsof
I don't see anything listening on 8891:
$ sudo lsof -i :8891 -n
[nothing]
Looking at opendkim
's status it says it's running:
$ systemctl status opendkim.service
...
Active: active (running)
...
Why isn't it listening on 8891?