SpamAssassin from 1.2.0 to 2.0.0 - autoused module List::MoreUtils has unique import() method

  • Hi,


    i try to update the SpamAssasin from 1.2.0 to 2.0.0 it displayed me the following error.



    Ein unerwarteter Fehler ist aufgetreten:


    Modules::Plugin::_executePluginAction: autoused module List::MoreUtils has unique import() method at /var/www/imscp/gui/plugins/SpamAssassin/backend/SpamAssassin.pm line 1046.Here the line 1046 : $fileContent =~ s/\Q{SAUSERPREFS_DONT_OVERRIDE}\E/@{[ join ",\n ", map qq{'$_'}, uniq @settings ]}/g;

    How can i resolve the problem ?


    Thanks

  • @jensen


    This bug has been already reported to us by @RamCZ but we removed his thread because he doesn't have followed our reporting rules: Reporting rules - Reminder


    Before being able to help you, we need further informations:

    • Distribution and codename (and version) as reported by: lsb_release -a
    • i-MSCP version
    • List of i-MSCP plugin installed and activated
    • List of listener files in use

    Thanks you.

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

  • Hello


    More infos, about this issue :


    1.)
    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.2 LTS
    Release: 16.04
    Codename: xenial


    2.)
    i-MSCP 1.4.6
    Build: 20170616


    3.)
    ClamAV 1.3.0
    SpamAssassin 2.0.0


    4.)

    Code
    1. tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1982/mysqld
    2. tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 2387/master
    3. tcp 0 0 x.x.x.x:8080 0.0.0.0:* LISTEN 2020/nginx -g daemo
    4. tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN 2387/master
    5. tcp 0 0 127.0.0.1:9876 0.0.0.0:* LISTEN 1531/imscp_daemon
    6. tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1539/sshd
    7. tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 21724/cupsd
    8. tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 2387/master
    9. tcp 0 0 x.x.x.x:4443 0.0.0.0:* LISTEN 2020/nginx -g daemo

    OS: Ubuntu 16.04.3 LTS
    i-MSCP: 1.5.1 + ClamAV (1.3.0) + SpamAssassin (2.0.1)

  • Confirmed. A new version will be released soon.
    Note that the problem could also be in i-MSCP core as well.

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

  • i-MSCP 1.4.6
    Build: 20170616
    Codename: Zimmer


  • A fix has been added in our development branch. See https://github.com/i-MSCP/plug…b0b0f1675b43ee19e47b9f4ce
    This fix will be part of next version.


    Thank you for your report.
    Thread closed.

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