Apologies in advance for all the Newb questions over the last few days and next week or so. Please bare with me as I am new to Web/Virtualmin and getting used to it…
Is the default install behavior of the Spam system to NOT deliver spam classified emails to the spam folder in the individual email accounts boxes? I see that Servers/Spamassassin/Procmail Spam Delivery has: "Append to mbox-format mail file .. $HOME/spam" checked.
I have the ‘Enable Spam’ & ‘Enable Virus’ checkboxes checked for the virtual server, and the same enabled on all user/email accounts.
I was under the (possibly wrong) assumption Spam would be delivered to the users ‘spam’ folders.
If that is wrong, and I indeed want spam delivered to the individual users ‘spam’ folders, should I change the Servers/Spamassassin/Procmail Spam Delivery setting to ‘Deliver Normally’?
Ok it has checked: Other file or email address: $HOME/Maildir/.spam/
So, in theory any spam should be delivered to the ‘spam’ folder correct?
I am testing it by sending the ‘GTUBE’ email from another account on a different server. Does the GTUBE get filtered on its way out so its never leaving the source server?
FYI heres the email:
This is the GTUBE, the
Generic
Test for
Unsolicited
Bulk
Email
If your spam filter supports it, the GTUBE provides a test by which you
can verify that the filter is installed correctly and is detecting incoming
spam. You can send yourself a test mail containing the following string of
characters (in upper case and with no white spaces and line breaks):
XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X
You should send this test mail from an account outside of your network.
Is it correct for spam emails to be written to a text file instead of delivered to the spam mailbox?
The text file located here has the test spam emails I have been sending written to it:
/home/mydomain/homes/username/spam
The setting you mentioned above:
Virtualmin > System Settings > Virtualmin Configuration > Spam Filtering Options: Other file or email address: $HOME/Maildir/.spam/
I found that
Virtualmin > Server Configuration > Spam and Virus Delivery has: Write to standard spam: Maildir ~/Maildir/.spam/
Webmin > Servers > Spamassassin Mail Filter: Append to mbox-format mail file … $HOME/spam
Thanks for that tip, now I know. But really this can’t be completely true, there are Usermin/Webmin display settings etc that can be set for personal taste… IP access control etc, 2FA settings, adding BCC/razor/pyzor, resource control etc…
I could still use some help getting this back to proper settings…
If this is a new setup, might be best to do a clean install following instructions at https://www.virtualmin.com/download/
DO NOT install webmin first, let the install script do it for you.
I am receiving mail and it is being identified as spam, but being delivered to the inbox ( I expected it to go to the spam folder, but maybe that is incorrect?)
Thanks for posting the 2 screenshots, I am confirming my setting match right now