Question
Getting error: Milter (opendkim): error connecting to filter: Connection refused by localhost
I’ve Ubuntu 16.04
I’m trying to config DKIM for sendmail.
Getting this error when email is sending:
sm-mta[19671]: uBILBoWg019671: Milter (opendkim): error connecting to filter: Connection refused by localhost
I’ve added port 12301 to firewall.
Also in /etc/opendkim.conf I’ve added:
Socket inet:12301@localhost
And also in /etc/default/opendkim:
SOCKET=“inet:12301@localhost”
And in /etc/mail/sendmail.mc at the end:
INPUTMAILFILTER(‘opendkim’, ’S=inet:12301@localhost’)
Any help?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×