Rspam confuses Virtualmin Configuration check

I recently enabled rspam on my server, that is managed using Virtualmin. While I can not seem to disable spamassassin at all (because of the virus scanning dependency), I added spam checking including the rspamc client program into the global /etc/procmailrc.

However, now virtualmin seems to confuse rspamc with spamc. When triggering "Re-Check Configuration", virtualmin complains:

"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."

This is my /etc/procmailrc:

LOGFILE=/var/log/procmail.log
TRAP=/etc/webmin/virtual-server/procmail-logger.pl
:0wi
VIRTUALMIN=|/etc/webmin/virtual-server/lookup-domain.pl --exitcode 73 $LOGNAME
EXITCODE=$?
:0
* ?/usr/bin/test "$EXITCODE" = "73"
/dev/null
EXITCODE=0
:0
* ?/usr/bin/test "$VIRTUALMIN" != ""
{
INCLUDERC=/etc/webmin/virtual-server/procmail/$VIRTUALMIN
}
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
DROPPRIVS=yes
INCLUDERC=$HOME/.procmailrc
:0fw
* <1048576
| /usr/bin/rspamc --mime
SPAMMODE=1
:0
* ^X-Spam: Yes
$HOME/Maildir/.spam/
SPAMMODE=0
:0
$DEFAULT

(besides this, it would be great if virtualmin would support both Spamassassin and rspam and let the admin choose :)

Status: 
Active

Comments

Hmm, in theory it should be possible to disable SpamAssassin while leaving the virus scanning enabled.

Can you paste in the exact error you receive when trying to disable the SpamAssassin feature?