Plugin allows to use ClamAV with i-MSCP

  • Hi, in version 1.2.0 is a problem with Plugin allows to use ClamAV with i-MSCP:


    Imscp Version 1.2.0 on debian 7 (fresh install from today), all packets are installed as written in plugin-doku. Install in i-mscp failed, Message:


    Quote

    An unexpected error occurred:


    iMSCP::File::get: Unable to open /etc/default/clamav-milter: file or folder not found
    Plugin::ClamAV::_modifyClamavMilterDefaultConfig: Unable to read /etc/default/clamav-milter


    I've had the same problem in another installation with i-mscp ~1.1.19, the file clamav-milter doesn't exist in /etc/default/ folder.


    To fix this:


    1.) create a file clamav-milter in /etc/default/ with following code:


    2.) if you had an error message during installation of clamav plugin, you must manually delete the entry for clamav in imscp-Database-Table plugin using phpmyadmin


    3.) install clamav-plugin again in imscp-admin panel.


    In one of the latest debian updates was something changed in packet clamav-milter, possible that the debian-packet is the error...?