OS: Rocky 8.7
Virtualmin Pro (latest)
Related Packages: Postfix, SpamAssassin, Procmail; possibly Dovecot
I began noticing a few email oddities a few weeks ago, one of which was the absolute elimination of spam. I also stopped getting certain routine mail, including payment notices from Stripe and deposit notices from my credit union. But I was getting other mail from Stripe and from the credit union.
Most legit mail from gmail users (including my mother and my godson) also disappeared.
I noticed these problems on accounts hosted on multiple servers, but was too busy to pay it much attention. A drop in spam doesn’t trigger the same response in me as an increase in spam would have.
When two users made similar complaints about missing mail this past weekend, I poked my nose into the config files and noticed a few oddities:
-
local.cf
(server-wide) was corrupted. Manual rules in particular were mixed up, with the rules and descriptions no longer corresponding to each other. -
auto_learn
had disappeared. Not set to0
, just disappeared. -
required_score
had been changed to 5, which I always considered too aggressive. I use 6.5 with a lot of custom rules. -
Procmail Mail Delivery
had been reset toThrow Away
. - All of the spam boxes, therefore, were empty.
I checked all the servers and found substantially-similar issues on all of them.
I’m not sure how this happened, but the timing suggests an update to one or more of the mail components may have had something to do with it. My guess would be Postfix or SpamAssassin, but I haven’t researched the update history.
I don’t think it had anything to do with Webmin or Virtualmin.
It may be worth poking nose into the SpamAssassin configuration if you start experiencing weird mail complaints, particularly false positives or the spam boxes being empty.
I manually rewrote the files and reset the settings and rules to where I usually put them, and all is well. I also manually whitelisted legit gmail users. I have a hunch that SpamAssassin increased the points assigned to freemail addresses at some point, which created false positives with required_score
at 5
. (It hasn’t at 6.5
, but I whitelisted the legit senders anyway).
All appears to be working properly now, so there’s no problem to solve. This is just an FYI.
That is all. Carry on.
Richard