Q: How to disable rspamd check for outgoing mails

Discussion in 'ISPConfig 3 Priority Support' started by macguru, Oct 31, 2024.

  1. macguru

    macguru Member HowtoForge Supporter

    Hi!

    How to disable rspamd check for outgoing mails? It marks too many outgoing mails as spam, thus disrupting normal e-mail exchange even within our own accounts. I checked these messages with false spam flag - they are completely normal. Changing spam level numbers to higher values, uploading problematic raw mails is ham in Rspamd web front end, helped a bit, but problem still persist driving my colleagues furious. In our old installation with Spamassassin we didn't had this kind of problem.

    Thanks in advance.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I've never seen a single outgoing email to be marked as spam falsely by Rspamd, so there might be something wrong with your setup, or the Bayes filter has learned something wrong. You should check which rules are responsible for the spam score to determine how to prevent that.

    In regard to disabling outgoing scans completely, here a suggestion from ChatGPT:

     
  3. macguru

    macguru Member HowtoForge Supporter

    Its seems I have found some traces of Rspamd problems. rspamd is running, but rspamc is crashing with any option (on Debian 12 Bookworm).
    Code:
    # rspamc uptime
    # rspamc stats
    terminate called after throwing an instance of 'std::runtime_error'
      what():  locale::facet::_S_create_c_locale name not valid
    Stack trace (most recent call last):
    #15   Object "", at 0xffffffffffffffff, in
    #14   Object "/usr/bin/rspamc", at 0x55e289e0d900, in
    ....
    Aborted (Signal sent by tkill() 4159199 0)
    
    Feeding any data with rspamc into Bayes not possible.
     

Share This Page