OpenDKIM giving an error

OS type and version Ubuntu 22.04
Virtualmin version 7.8.2

I’m getting error in openDKIM, Please help me to fix!

× opendkim.service - OpenDKIM Milter
     Loaded: loaded (/lib/systemd/system/opendkim.service; enabled; vendor preset: enabled)
    Drop-In: /etc/systemd/system/opendkim.service.d
     Active: failed (Result: exit-code) since Wed 2023-09-27 19:11:45 CEST; 13s ago
       Docs: man:opendkim(8)
    Process: 83312 ExecStart=/usr/sbin/opendkim -P /run/opendkim/ -p inet:8891@ -b sv (code=exited, status=78)
        CPU: 8ms

Sep 27 19:11:45 systemd[1]: opendkim.service: Scheduled restart job, restart counter is at 5.
Sep 27 19:11:45 systemd[1]: Stopped OpenDKIM Milter.
Sep 27 19:11:45 systemd[1]: opendkim.service: Start request repeated too quickly.
Sep 27 19:11:45 systemd[1]: opendkim.service: Failed with result 'exit-code'.
Sep 27 19:11:45 systemd[1]: Failed to start OpenDKIM Milter.

You mentioned in another post that you encountered an error during installation. It is natural that you cannot start the service as long as you have not managed to install the package successfully.

is there any way to fix it?

Try running dpkg --configure -a in the command line.

Issue fixed

Thank you for great help @Ilia @ADDISON74 :slight_smile:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.