SpamAssassin

3 posts / 0 new
Last post
#1 Wed, 01/06/2016 - 23:41
siteXmedia

SpamAssassin

On checking the system I get the 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 have looked at everything I can and also read some of the other issues but still can not get rid of the message

My /etc/procmailrc is below, but I do not see what is the problem

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

Many thanks...

Thu, 01/07/2016 - 11:34
andreychek

Howdy,

It looks like you have these lines at the top of your procmailrc file:

DROPPRIVS=yes
:0fw
| /bin/spamc

You wouldn't actually need those, as there's another part of the procmail config that calls spamc.

-Eric

Thu, 01/07/2016 - 12:10 (Reply to #2)
siteXmedia

Looks like hat did the trick

Many thanks

Russell

Topic locked