i would setup this new server as a mail server,
i check some related options and find on
webmin - servers - spamassassins mail filter
this error
Warning! SpamAssassin does not appear to be set up in the system's Procmail configuration file /etc/procmailrc, so any configuration done using this module will have no effect unless users have it set up individually.
i enabled this [Allow mailbox users to create mail filters]
but never changed…
how can i setup spamassassin / procmail to works fine?
This can be fixed by going to Webmin / Servers ⇾ SpamAssassin Mail Filter page, and clicking Setup Procmail For SpamAssassin iconed button, and setting this up from opened page.
@Joe don’t we want this to be configured automatically?
No! Virtualmin manages procmail rules. That button in the SpamAssassin module is a generic catchall rule, incompatible with Virtualmin rules (at least, as far as I recall…). I think the module should even prevent you from doing that, because it breaks Virtualmin rules, right? I’m not sure what’s wrong in this case, but that’s not the solution.
after edit as @ilia suggested
i run on ssh
virtualmin check-config
…
Logrotate is installed
SpamAssassin and Procmail are installed and configured for use
ERROR: SpamAssassin is configured to be run from the global Procmail configuration /etc/procmailrc, which is not needed as Virtualmin will set it up on a per-domain basis
i would use spamassins standalone (so i can configure it per domain)