Spamassasin Plugin lässt sich nicht mehr installieren.

  • Moin Moin,


    nachdem ich gerne die aktuellst Version des Spamassasin Plugins Version 2.1.0 (Build 2018112200) Installieren wollte, bekomme ich folgende Fehlermeldung :
    (dies wollte ich wegen einer Fehlermeldung die im Dienst Status hoch kam)


    Code
    1. SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXISTS(SELECT 1 FROM `imscp`.mail_users AS t2 WHERE t2.mail_addr = t1.username A' at line 4

    Zuvor hatte ich noch eine Meldung wegen eines doppeltem Bayes user den ich nach entfernen aus der Datenbank weg bekam.

    *Edit*

    Die Version 2.0.1 (Build 2017070300) lies sich wieder installieren, das Problem ist also erstmal nicht so Kritisch.

    Jun 04 16:30:53 imsp spamd[28817]: auto-whitelist: sql-based get_addr_entry [email protected]|none: SQL error: Unknown column 'last_hit' in 'order clause'


    deswegen hatte ich die neuere Version versucht. Was mache ich denn da falsch ?





    Ich hoffe jemand kann mir da weiterhelfen.

    Danke und Grüße

    Edited once, last by jensen ().

  • Hey Kess, hat geklappt Dankeschön ;)

    Code
    1. As found on spamassassin svn repo [1], a schema change of awl table within imscp_spamassassin database seems to be neccessary:
    2. ALTER TABLE awl CHANGE last_update last_hit timestamp NOT NULL default CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP;
    3. Attention: With current debian version 3.4.2-0+deb8u1 which I'm using, as they have backported only parts of 3.4.3, not the whole new structure of awl table should be used / changed to, as spamassassin code will still use field 'count' instead of new 'msgcount' !