Submitted by dino on Tue, 04/05/2011 - 15:52
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
Submitted by andreychek on Tue, 04/05/2011 - 16:02 Comment #1
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?
Submitted by dino on Tue, 04/05/2011 - 16:08 Comment #2
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
Submitted by dino on Tue, 04/05/2011 - 16:11 Comment #3
I've readded it as a text file as drupal looks like it's mangling LF or CR .. not sure which!!..
Submitted by andreychek on Tue, 04/05/2011 - 16:36 Comment #4
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.
Submitted by dino on Tue, 04/05/2011 - 16:41 Comment #5
Excellent that fixes it !! some update shoved that in btw as I've certainly not been around those parts!!..
Best Regards to all!!
Submitted by dino on Tue, 04/05/2011 - 16:41 Comment #6
Submitted by Karl on Thu, 06/23/2011 - 06:22 Pro Licensee Comment #7
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
Submitted by andreychek on Thu, 06/23/2011 - 08:26 Comment #8
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.
Submitted by Karl on Thu, 06/23/2011 - 10:16 Pro Licensee Comment #9
That works. I deleted the two lines.
Thanks a lot for your quick help.
Best regards, Karl