|OS type and version
||rocky linux 8
i have reinstalled my new server with rocky linux , as @Joe suggested
because there are some problems with almalinux 8
i would setup this new server as a mail server,
i check some related options and find on
webmin - servers - spamassassins mail filter
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?
You should not do this in a Virtualmin system, though!
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.
@ale.ab can you post the contents of
/etc/procmailrc from your system?
yes, here it is
* ^X-Spam-Status: Yes
of course i apply @Ilia suggestion
but now i’m checking and found this
after edit as @ilia suggested
i run on ssh
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)
The regular Virtualmin default config should be like :
VIRTUALMIN=|/etc/webmin/virtual-server/lookup-domain.pl --exitcode 73 $LOGNAME
* ?/bin/test "$EXITCODE" = "73"
* ?/bin/test "$VIRTUALMIN" != ""
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.