1

Topic: Spam cannot be blocked using amavisd

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version:  CentOS Linux 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Here is my setting
1. check this topic , i have take spamassin service stop.
    https://docs.iredmail.org/file.locations.html#amavisd

2. check this topic , i setting $sa_tag_level_deflt = -100
https://docs.iredmail.org/no.x-spam.headers.html


I have setting $log_level = 5; and $sa_debug = 1; to check log
But I do mail test is no X-Spam-* record.

Appendix
/etc/postfix/master.cf
/etc/amavisd/amavisd.conf
/var/log/maillog

Post's attachments

amavisd.conf 28.36 kb, 1 downloads since 2021-07-31 

maillog.txt 60.08 kb, 2 downloads since 2021-07-31 

master.cf 9.18 kb, file has never been downloaded. 

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

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Spam cannot be blocked using amavisd

Jul 31 21:25:34 webmail amavis[6448]: (06448-11) sql: executing clause (7 args): SELECT wb FROM wblist JOIN mailaddr ON wblist.sid=mailaddr.id WHERE wblist.rid=? AND mailaddr.email IN (?,?,?,?,?,?) ORDER BY mailaddr.priority DESC
Jul 31 21:25:34 webmail amavis[6448]: (06448-11) lookup_sql(superada0923@gmail.com) matches, result=(wb=>"W")

This address is whitelisted, so it bypasses spam scanning.

3

Re: Spam cannot be blocked using amavisd

ZhangHuangbin wrote:

Jul 31 21:25:34 webmail amavis[6448]: (06448-11) sql: executing clause (7 args): SELECT wb FROM wblist JOIN mailaddr ON wblist.sid=mailaddr.id WHERE wblist.rid=? AND mailaddr.email IN (?,?,?,?,?,?) ORDER BY mailaddr.priority DESC
Jul 31 21:25:34 webmail amavis[6448]: (06448-11) lookup_sql(superada0923@gmail.com) matches, result=(wb=>"W")

This address is whitelisted, so it bypasses spam scanning.

Thank you, if I want to test the spam service, how do I set it up?