Hmmm…Looks like it’s being filtered either at the spam or AV filter level, since it made it to procmail.
Have a look at the Search Mail Logs page and see if it’ll tell you what happened to that message. You can search based on sender and recipient and date. (Select the virtual server in question, and click “Search Mail Logs” in the “Logs and Reports” menu.)
Yes I realized it had reached the spam threshold and was being discarded. I had the level set to 1.5 in spamassassin as that is what I have used before, but before messages identified as spam did not get removed but were delivered with the subject modified.
Now anything identified as spam doesn’t get delivered.
Where do I go to change this?
I tried Webmin - Servers - SpamAssassin Mail Filter - Procmail Spam Delivery
and changed the selection for "Action for messages classified as spam"
from:
Append to mbox-format mail file
to:
Deliver normally
with no effect.
Does something need to be restarted besides Postfix?
Not even Postfix needs to be restarted. Though, if you’re using spamc (with spamassassin in daemonized form), then you’d need to reload SpamAssassin.
In Virtualmin GPL, it’s going to depend on a few factors…but you’re probably going to want to make modifications in the SpamAssassin module’s “Spam Classification” page.
I commented out the lines above(with comments) and now I get all mail including messages marked as spam, though those just have the header rewritten with +++SPAM+++
Also it seems that I can just comment one of those lines(either one) and have the same effect.
Is there any issue with doing what I am doing? Is it ok to comment both out or should I uncomment one of them?