spamassassin and RCVD_IN_VALIDITY_CERTIFIED

Discussion in 'General' started by Paul Zanca, Nov 26, 2024.

  1. Paul Zanca

    Paul Zanca New Member

    Hello,

    I need to change the settings for Spamassassin but it seems that ISPconfig is keeping the settings somewhere else and apparently not take in consideration the real config of spamassassin. Where exactly please? I tried phpMyAdmin but I only found the content filters, of course different from linux configs. I am a fan of Webmin. I tried the Resync Tool for Mailfilter, no changes.

    Sorry to barge in like this but I had enough of this "VALIDITY".
    A lot of SPAM is coming trough and I cannot change the score (I change in linux configs but not obeyed by ISPconfig)
    Now a little bit of a question: How can you be "clean" RCVD_IN_VALIDITY_CERTIFIED=-3 and RCVD_IN_VALIDITY_SAFE=-2 and at the same time to be blacklisted in RCVD_IN_VALIDITY_RPBL=1.31 ??!?

    I changed all the scores to zero respective 5 for blacklist but they remain the same even after services restart (or server to be sure).

    Please help.
    Kind regards,
    Paul
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's not the case. ISPConfig uses the standard location for spamassassin config files. My guess is you missed restating amavisd after changing the config.
     
    pyte likes this.
  3. Paul Zanca

    Paul Zanca New Member

    Thank you, restarted amavis now, have to wait for that specific emails. You are right, I restarted only spamassassin and postfix. Not sure I test-restarted the server after last changes.

    What are the locations ISPconfig looks up for the spamassassin config?
    I have them scattered like /etc/mail, /etc/spamassassin, /usr/share/spamassasin, and /var/lib/spamassasin/.., the later containing the scores that I need
    But now that I look closely, the only file with scores for VALIDITY is in /var/lib/spamassassin/3.004004/updates_spamassassin_org which sound to me like a location that will be overwritten after an update, so my setting would be lost.
    Yes, old SA. I am still with Ubuntu 20.04 LTS from 2020... but ISPconfig version is 3.2.12 (not p1)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig is not looking for any specific SpamAssassin configs, as I mentioned. Spamassassin on your system uses the SpamAssassin config location of the operating system you have chosen to install your servers. ISPConfig is not using SpamAssassin directly, it's using amavisd (and all amavisd config files are in their default locations as well, and what amavis does is that it loads spamassassin libraries internally for email classifications.

    So if you want top know where spamasssain config files are located for your OS, then enter "your os name + spamassassin configuration file" in a search engine of your choice. As it does not matter at all if you have ISPConfig installed for this question. Here the answer from ChatGPT for your OS:

     
  5. Paul Zanca

    Paul Zanca New Member

    Thank you for a most comprehensive answer. And to confirm, restarting amavis did the trick, not restarting spamassassin itself. With a score of 0.0 I have now erased all the traces of "Validity", now I have lesser false negatives.

    Thanks and regards,
    Paul
     

Share This Page