OpenDKIM and domain deletion issue

  • Regarding ticket 1068, I open this thread about an issue involving the OpenDKIM Plugin.


    If you use the plugin, you can get this issue:
    Create two domains, for one of them activate the DKIM on it.
    Now, delete both domains and here is what you should get:


    For the domain that didn't get the DKIM enable on it (domain here is "testadm.test"):


    In DB, table "log" should have two entries regarding the adding part (if we search for the syntax of the domain)
    And for the files/folder list:
    /etc/imscp/apache/backup/testadm.test.conf.1396279574
    /etc/imscp/apache/backup/testadm.test.conf.1396279649
    /etc/imscp/bind/backup/testadm.test.db.1396279574
    /etc/imscp/bind/backup/testadm.test.db.1396279649
    /var/log/apache2/testadm.test
    /var/log/apache2/testadm.test/error.log
    /var/log/imscp/Domain_module_testadm.test.log
    /var/log/imscp/Htusers_module_testadm.test.log
    /var/log/imscp/[email protected]
    /var/log/imscp/[email protected]
    /var/log/imscp/[email protected]
    /var/log/imscp/User_module_testadm.test.log



    This is the normal behavior expected.




    Now, for the domain which has the DKIM enable, in DB, table domain, it will remain in it.
    Also, files/folders will remain in place (domain here is "testresel.local"):


    /etc/apache2/imscp/testresel.local.conf
    /etc/apache2/sites-available/testresel.local.conf
    /etc/apache2/sites-enabled/testresel.local.conf
    /etc/awstats/awstats.testresel.local.conf
    /etc/imscp/apache/backup/testresel.local.conf.1396279579
    /etc/imscp/apache/backup/testresel.local.conf.1396279589
    /etc/imscp/apache/working/testresel.local.conf
    /etc/imscp/bind/backup/testresel.local.db.1396279579
    /etc/imscp/bind/backup/testresel.local.db.1396279589
    /etc/imscp/bind/working/testresel.local.db
    /var/cache/bind/testresel.local.db
    /var/log/apache2/testresel.local
    /var/log/apache2/testresel.local/error.log
    /var/log/imscp/Domain_module_testresel.local.log
    /var/log/imscp/Htusers_module_testresel.local.log
    /var/log/imscp/[email protected]
    /var/log/imscp/[email protected]
    /var/log/imscp/[email protected]
    /var/log/imscp/User_module_testresel.local.log
    /var/mail/virtual/testresel.local
    /var/www/fcgi/testresel.local
    /var/www/fcgi/testresel.local/php5
    /var/www/fcgi/testresel.local/php5-fcgid-starter
    /var/www/fcgi/testresel.local/php5/php.ini




    Hope this is enough detailled :)



    EDIT:
    Config files aren't cleaned too, like "/etc/bind/named.conf.local"


    // imscp [testresel.local] entry BEGIN
    zone "testresel.local" {
    type master;
    file "/var/cache/bind/testresel.local.db";
    allow-transfer { X.X.X.X; localhost; };
    notify yes;
    };
    // imscp [testresel.local] entry ENDING



    Also in the file:
    "/etc/postfix/imscp/domains" ==> testresel.local vdmn_entry

  • @TheCry



    I can look if you want.

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

  • @TheCry


    Ok. I'll have a look now so. I've never tested the openDKIM plugin. Time for me to test it so :D

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

  • No problem TheCry, I have time and I can wait.


    I'm busy too at that time, that was why I was asking if you already start to look at it ;)



    Well, if Nuxwin can take a look, that would be great, but this isn't an High priority, IMO.



    Edit: hey Nexwin, you'll see, it's a good plugin (if we don't count this little issue I have, at least, on my installation). It do what we ask him to do (in a very very simple way) :)

  • Hello ;


    Sorry for the delay. This issue will be addressed ASAP.

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