SYSTEM INFORMATION
OS type and version
Debian 12
Virtualmin version
7.30.4
SpamAssassin does not scan emails >500Kb - they also get not X-SPAM
injected in the header.
How can I set it to lets say 2048Kb ?
I added max_size 2048
to local.cf
(and reloaded) - but that didn’t change anything.
OK, found it!:
Virtualmin > mydomain.com > Email Settings > Spam and Virus Scanning > Maximum message size to process
1 Like
Hit that solved button😃
But I am glad you found the setting.
Also, for a global reconfigure:
Virtualmin → Email Settings → Spam and Virus Scanning
Change (o) Default (500 kB) to (o) At most 2 MiB
Note it says “The spam and virus scanning options set on this page will be applied to all virtual servers with filtering enabled. Any per-server settings will be over-ridden.” I LOVE this feature!!!
I noticed that too. Very convenient.
I use RoundCube and JUNK all spam and new spam.
Then once in while I run sa-learn --spam /home/domain/homes/admin/Maildir/.Junk/cur
and then delete everything in the JUNK and TRASH folder.
Everything with a score >9 gets deleted right away.
Spamassassin works pretty well for me.
vtrh
February 14, 2025, 3:04pm
5
Shouldnt virtualmin run this automaticly from time to time for every domain?
ID10T
February 14, 2025, 3:59pm
6
User choice is probably best. People get more upset over losing good emails as opposed to getting occasional spam.
You can set it up that way I guess. But seeing SPAM terminated brings soooo much satisfaction - I want to keep it!