Spamassassin didn't install

  • Hello,
    I have got a new problem.
    When I want to install the spamassassin plugin, I get the error:
    iMSCP::SystemUser::addSystemUser: root user is prohibited


    Can someone help me, please?
    It's the 1.5.1 imscp on debian9.
    And I transfered the data from the old server with debian8 to the new server with debian9.


    Thanks.

  • @rr10111101

    • Please make usage of bbcode.
    • Please provide us with all required information: i-MSCP SpamAssassin plugin version

    iMSCP::SystemUser::addSystemUser: root user is prohibited

    This is a security measure from our library and normally you shouldn't get that error, unless there is really something on your system.

    • Please show us your i-MSCP SpamAssassin plugin configuration file (/var/www/imscp/gui/plugins/SpamAssassin/config.php).
    • Please give us the result of the following commands:
    Shell-Script
    1. getent passwd debian-spamd
    Shell-Script
    1. grep ROOT_USER /etc/imscp/imscp.conf

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

  • spamassassin-plugin 2.0.1 the one, that I could download.


    root@srv1438:/etc/init.d# getent passwd debian-spamd
    debian-spamd:x:116:117::/var/lib/spamassassin:/bin/sh


    root@srv1438:/etc/init.d# grep ROOT_USER /etc/imscp/imscp.conf
    ROOT_USER = root

    Files

    • config.txt

      (15.8 kB, downloaded 2 times, last: )

    Edited once, last by rr10111101 ().

  • I deinstalled the plugin. Deleating the directory.


    So I could make the install again and then I got this:


    Plugin-Installation fehlgeschlagen: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '$GLOBAL-use_bayes-0' for key 'user_pref'I would try this.


    SQL
    1. mysql -u root -p<password>
    2. > use imscp;
    3. > DELETE FROM ???? WHERE user_pref = '$GLOBAL-use_bayes-0';
    4. > \q

    ???? = I don't know