Posts by UncleJ

    Hello,


    I updated the SpamAssassin Plugin today and ran into 2 errors:

    Code
    1. Setting up spamassassin (3.4.1-3) ...dpkg: error processing package spamassassin (--configure): subprocess installed post-installation script returned error exit status 1Errors were encountered while processing: spamassassin

    and

    Code
    1. Setting up sa-compile (3.4.1-3) ...
    2. Configuration file '/etc/spamassassin/sa-compile.pre', does not exist on system.
    3. Installing new config file as you requested.
    4. Running sa-compile (may take a long time)
    5. dpkg: error processing package sa-compile (--configure):
    6. subprocess installed post-installation script returned error exit status 1
    7. Errors were encountered while processing:
    8. sa-compile


    As it turned out the error was coming up due to insufficient login shell for user debian-spamd. I found the final hint here
    Adding -s /bin/sh to the postinstall files in /var/lib/dpkg/info (sa-compile.postinst -> line 10 and spamassassin.postinst -> line 35) fixed the issue for me.
    Perhaps this information helps someone running into the same issue.


    Regards Jörg

    Hello,


    I have an issue with permissions when running the spamassassin cronjob (daily). I have installed the spamassassin plugin and everything has been working fine but after running imscp-reconfigure the permissions of some files within the /etc/spamassassin folder have been changed and I get the following warning when the cronjob runs:

    Code
    1. /etc/cron.daily/spamassassin:
    2. Jun 22 06:00:19.551 [10962] warn: config: cannot open "/etc/spamassassin/DecodeShortURLs.cf": Permission denied
    3. Jun 22 06:00:19.551 [10962] warn: config: cannot open "/etc/spamassassin/iXhash2.cf": Permission denied

    Attached you can find an overview of the permissions before running imscp-reconfigure (everything fine) and after.
    Can anyone confirm this issue?


    Regards Jörg

    Files

    • before.jpg

      (52.53 kB, downloaded 6 times, last: )
    • after.jpg

      (52.48 kB, downloaded 5 times, last: )

    @Nuxwin,


    no I was talking about the modifications to the nameservers he wants to make in the zone files. He does not like the default settings of i-MSCP and wants to adapt them to his needs.


    Regards Jörg

    Es wäre jedoch empfehlenswert die Änderung per Listener durchführen zu lassen anstatt das von Hand zu machen - so ist das Ganze auch update-stabil.


    Gruß Jörg

    Hallo @bcde


    du kannst zurückstellen indem du in der Datei bind.data folgenden Eintrag änderst: BIND_DB_FORMAT = raw=0


    Grüße
    Jörg


    Sorry für die Doppelposts - hatte eine Fehlermeldung erhalten und keinen EIntrag gesehen.