1 (edited by RichieX 2018-05-18 23:42:26)

Topic: No spam checks

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 MYSQL edition
- Linux/BSD distribution name and version: Ubuntu 18.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I have installed iredmail in a VM box and can send/receive mails for my domain. Everything works perfectly only the spamfilter are not working.

The mail header from all mails looks like
X-Virus-Scanned: Debian amavisd-new at lxmail.xxxx.xx
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=x tests=[] autolearn=unavailable

I can post necessary files (logs/confs) to analyse problem.

RichieX

Edit: Attached amavis conf file.
Edit2:

syslog at received mail from gmail:
---
May 18 17:37:00 lxmail amavis[30177]: (30177-01) Passed CLEAN {RelayedInbound}, [209.85.215.45]:35700 [209.85.215.45] <xxxx@gmail.com> -> <info@xxxx.xx>, Queue-ID: 112A2FBFCA1, Message-ID: <CAJ46fkFu_=BS2wjQTYgRHJ6OoGxBfxxxxRpPRWoGj9baCOyfeA@mail.gmail.com>, mail_id: y-lY5zBwOAsi, Hits: -, size: 2654, queued_as: 5C0D1FBFCB3, dkim_sd=20161025:gmail.com, 193 ms
May 18 17:37:00 lxmail postfix/amavis/smtp[2130]: 112A2FBFCA1: to=<info@xxxx.xx>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.46, delays=0.25/0.01/0.01/0.19, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5C0D1FBFCB3)
---

Post's attachments

50-user 29.83 kb, 1 downloads since 2018-05-18 

You don't have the permssions to download the attachments of this post.

2

Re: No spam checks

*) Please run SQL commands below as MySQL root user:

USE amavisd;
SELECT * FROM policy \G

*) Please enable debug mode in Amavisd and send one more testing email again, extract ALL logs related to this new testing email from Postfix log file (Amavisd logs to same file) and paste here for troubleshooting (you're free to replace real domain names). FYI: https://docs.iredmail.org/debug.amavisd.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

3

Re: No spam checks

I too am having the same exact problem. I purchased and installed IREDMAIL PRO about a week ago. SpamAssassin never runs.
I added this, $sa_tag_level_deflt  = -100; to 50-user and every single message says:

X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level:
X-Spam-Status: No, score=x tests=[] autolearn=unavailable

I have never seen a reference to SpamAssassin once in any log or email header.

Watching thread.

4

Re: No spam checks

Dear @bigdog,

Please show us output of my previous reply, We need them for troubleshooting.
https://forum.iredmail.org/post63021.html#p63021

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee

5 (edited by RichieX Yesterday 15:01:48)

Re: No spam checks

Sorry for my late feedback.

The output from mysql command:
mysql> SELECT * FROM policy \G
*************************** 1. row ***************************
                          id: 1
                 policy_name: @.
                 virus_lover: N
                  spam_lover: Y
             unchecked_lover: NULL
          banned_files_lover: Y
            bad_header_lover: Y
         bypass_virus_checks: N
          bypass_spam_checks: N
        bypass_banned_checks: N
        bypass_header_checks: N
         virus_quarantine_to: virus-quarantine
          spam_quarantine_to: NULL
        banned_quarantine_to: NULL
     unchecked_quarantine_to: NULL
    bad_header_quarantine_to: NULL
         clean_quarantine_to: NULL
       archive_quarantine_to: NULL
              spam_tag_level: NULL
             spam_tag2_level: NULL
             spam_tag3_level: NULL
             spam_kill_level: NULL
       spam_dsn_cutoff_level: NULL
spam_quarantine_cutoff_level: NULL
        addr_extension_virus: NULL
         addr_extension_spam: NULL
       addr_extension_banned: NULL
   addr_extension_bad_header: NULL
              warnvirusrecip: NULL
             warnbannedrecip: NULL
               warnbadhrecip: NULL
              newvirus_admin: NULL
                 virus_admin: NULL
                banned_admin: NULL
            bad_header_admin: NULL
                  spam_admin: NULL
            spam_subject_tag: NULL
           spam_subject_tag2: NULL
           spam_subject_tag3: NULL
          message_size_limit: NULL
            banned_rulenames: NULL
          disclaimer_options: NULL
              forward_method: NULL
                 sa_userconf: NULL
                 sa_username: NULL
1 row in set (0.00 sec)

And syslog attached.

RichieX

Post's attachments

syslog.txt 44.83 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.