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: 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:
And also in /etc/default/opendkim:
And in /etc/mail/sendmail.mc at the end:
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.