Topic: [SPAM] being attached to all inbound mail
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.8.4
- Deployed with iRedMail Easy or the downloadable installer?
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
This might be a regression since there was a post in March 2026 that was similar.
When a user sets the option to prepend [SPAM] to the subject it writes it into all three policy fields, spam_subject_tag, spam_subject_tag2, and spam_subject_tag3.
I have to run the command:
mysql amavisd -e "UPDATE policy SET spam_subject_tag=NULL;"
every few minutes on cron to make sure it is caught and returned to null.
I am not sure when this started, I only have one user that uses this feature so was not aware of the issue till now.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.