Spamassassin error on config check

Hi, Using Virtualmin on Ubuntu Linux v 10.04.1 - after virtualmin requested several updates the config check now fails with the following line:

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.

Then says system is not ready for use by Virtualmin.

I'm comparing the system with another (our live system) which is currently running centos but cannot see anything different in that under spamassassin config.

I can't tell if it's working or not as this machine isn't live. I'm considering switching to ubuntu but at the moment it's doing this ... Virtualmin is at 3.84 pro and webmin at 1.534

Status: 
Active

Comments

SpamAssassin is typically called from within domain-specific procmail configs, and wouldn't be called from within /etc/procmailrc. If SpamAssassin is also being called from your global procmailrc, that means it may end up being called twice.

What are the contents of your /etc/procmailrc file?

Contents below:

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

I've readded it as a text file as drupal looks like it's mangling LF or CR .. not sure which!!..

Hmm, so the first 6 lines you have there -- those wouldn't need to be in your global procmailrc.

That is, you can comment these lines out:

DROPPRIVS=yes
:0fw
| /usr/bin/spamc
:0
* ^X-Spam-Status: Yes
$HOME/spam

Those would all be handled elsewhere in the email system.

Excellent that fixes it !! some update shoved that in btw as I've certainly not been around those parts!!..

Best Regards to all!!

Hi,

I have the same issue after moving to a new server (old and new: CentOS 5.6).

I attached two files procmailrc. The first one is from the old server and it is working. The 2nd one is from the new server and is not working.

The content seems to be the same, just the order of the lines differs.

Thanks, Karl

Hi Karl -- well, you're welcome to copy in your /etc/procmailrc from your old server... it's rare that anything in there needs to change.

However, you could also try deleting these two lines at the top of your new one:

:0fw
| /usr/bin/spamc

Since that would be a duplicate of code that happens elsewhere.

That works. I deleted the two lines.

Thanks a lot for your quick help.

Best regards, Karl