unix:/opendkim/opendkim.sock: No such file or directory

  • If you want to use the OpenDKIM plugin in the right way, then I can show you what you have to do.


    If not, then you could make your entries in the main.cf on each update of i-MSCP or the OpenDKIM plugin.


    Up to you!

  • Then please do the following:


    In the file /etc/default/opendkim remove the following lines, so that you have the default opendkim file.

    Code
    1. SOCKET="inet:8891@localhost"and the last line #SOCKET="local:/var/spool/postfix/var/run/opendkim/opendkim.sock"


    Then edit the file /var/www/imscp/gui/plugins/OpenDKIM/config.php and make the changes below:

    Code
    1. 'OpenDKIM_Socket' => 'local:/var/spool/postfix/opendkim/opendkim.sock',
    2. 'PostfixMilterSocket' => 'unix:/opendkim/opendkim.sock',

    In the admin panel go to the plugin management and push the button Update Plugins and also deactivate and afterwards active the OpenDKIM plugin again.
    Now it should work and you are using the default settings.