- you are not failing SPF with spam assain. (at a guess)
- do you have grey lisitng enabled
- Class emails as SPAM if they fail SPF check
- Virtualmin check SPF records? - #10 by Ilia - Virtualmin - Virtualmin Community
- Decide where to set the rule
- Global Rule: Webmin → SpamAssassin Mail Filter → Header and Body Tests → Switch to advanced mode
- Virtual Server Rule: Virtualmin → Mail Options → SpamAssassin Configuration → Header and Body Tests → Switch to advanced mode
- this might not be available and dpeneds on your Virtualmin configuration set during the POST-Installation wizard.
- Add these ‘SpamAssassin test scores’ or what you want to assign, maybe just SPF_FAIL = 10.00 (which works for me on cPanel)
- SPF_FAIL = 10.00
- SPF_SOFTFAIL = 5.00
- SPF_HELO_FAIL = 5.00
- Decide where to set the rule
Email and SPAM section on My Virtualmin Notes | QuantumWarp