OpenDKIM v0.0.3 released

  • OpenDKIM plugin version 0.0.3 has been released.


    Version compatible with i-MSCP version >= 1.1.11


    CHANGELOG

    • Fixed: OpenDKIM keys are not generated for domain aliases which are added after OpenDKIM activation

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Please create a PR so I can simply merge it :)

  • i-MSCP 1.2.15 (in my case) and opendkim plugin may not work because of a "not secure" "error"


    Code
    1. Mar 3 09:46:59 3 opendkim[5872]: mail._domainkey.domain.com: key data is not secure: /etc can be read or written by other usersMar 3 09:46:59 3 opendkim[5872]: DF1C5817EE: error loading key 'mail._domainkey.domain.com'Mar 3 09:46:59 3 postfix/cleanup[7050]: DF1C5817EE: milter-reject: END-OF-MESSAGE from ip.myprovider.com[111.222.33.44]: 4.7.1 Service unavailable - try again later; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<[192.168.2.137]>
    Code
    1. RequireSafeKeys False

    Maybe this is an opendkim, i-mscp or just a configuration error of my system (it worked until update to 1.2.15)


    Regards

  • It's a problem on your side.
    Please provide the output of the following command:


    # ls -ld /etc /etc/opendkim /etc/opendkim.conf

  • @ciscllc


    Please, run

    Code
    1. # chmod 0755 /etc

    Once done, restart the opendkim daemon.


    I don't know for the rest of your system but /etc should not be world-readable ;)


    You should normally get:

    Code
    1. root@trusty:/usr/local/src/imscp# ls -ld /etc
    2. drwxr-xr-x 93 root root 4096 mars 3 16:35 /etc

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206