Spamassasin install not working

  • Hi there,


    I want to use the spamassassing plugin. After installing all needed packages (Ubuntu 12.04) I uploadded the plugin and pressed install.


    This is the message I get (some permission problems i think) - can someone help me installing it?


  • Hello ;


    Does the debian-spamd user exists on your system?


    What is the result of the following command: getent passwd


    I've an 12.04 so I'll test this night.

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

  • Hi,


    I dont want to post the whole list, cut some entries:


  • Please, result of:


    Shell-Script
    1. ls -la /var/lib/spamassassin/

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

  • Quote

    root@srv ~ # ls -la /var/lib/spamassassin/
    insgesamt 12
    drwxr-xr-x 3 root root 4096 Jan 10 13:26 .
    drwxr-xr-x 56 root root 4096 Feb 26 20:56 ..
    drwxr-xr-x 3 root root 4096 Jan 10 13:26 3.003002

  • ok so please, chown that directory to debian-spamd:debian-spamd and then, retry

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

  • On Debian Squeeze and Ubuntu Lucid / Precise this will be done by this function, and I tested it on my system before release and it was working.


    https://github.com/i-MSCP/plug…end/SpamAssassin.pm#L1440



    In the present case, the homedir (/var/lib/spamassassin/) of the debian-spamd user is owned by root:root so, that user which is used to run /usr/bin/sa-update cannot create any directory...

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