Virtualmin upgrade broken procmail

5 posts / 0 new
Last post
#1 Wed, 12/17/2008 - 08:57
markw365

Virtualmin upgrade broken procmail

I'm seeing the following error on config recheck after an upgrade.

  The Procmail program needed for spam filtering does not appear to be installed on your system, or has not yet been set up properly in Webmin's Procmail Mail Filter module. If your system does not use spam filtering, it should be disabled in Virtualmin's module configuration page.

Procmail 3.22 is installed. Procmail binary is at /usr/bin/procmail and set in the procmail module config. Procmailrc is at /etc/procmailrc is set and contains the following:

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

I've checked perms and everything appears to be fine. Oh, this is a debian 4.0 system running virtualmin Pro 3.64.<br><br>Post edited by: markw365, at: 2008/12/17 08:57

Wed, 12/17/2008 - 09:06
andreychek

What does this show:

ls -l /usr/bin/procmail-wrapper

And does it help anything to run this:

chmod 6755 /usr/bin/procmail-wrapper

Also, you may try logging into Virtualmin, and going into Webmin -&gt; Servers -&gt; Procmail Mail Filter -&gt; System Settings, and making sure that &quot;Path to procmail program&quot; points to the correct place.

Mine just says &quot;procmail&quot;, but you might try specifying the full path, &quot;/usr/bin/procmail&quot;.
-Eric

Wed, 12/17/2008 - 10:16 (Reply to #2)
markw365

<b>andreychek wrote:</b>
<div class='quote'>What does this show:

ls -l /usr/bin/procmail-wrapper

And does it help anything to run this:

chmod 6755 /usr/bin/procmail-wrapper

Also, you may try logging into Virtualmin, and going into Webmin -&gt; Servers -&gt; Procmail Mail Filter -&gt; System Settings, and making sure that &quot;Path to procmail program&quot; points to the correct place.

Mine just says &quot;procmail&quot;, but you might try specifying the full path, &quot;/usr/bin/procmail&quot;.
-Eric</div>

I'd already done all the above. It was originally procmail but I changed it to /usr/bin/procmail and the perms are set uid/gid on procmail-wrapper.

Wed, 12/17/2008 - 10:48 (Reply to #3)
markw365

I did find that turning off spam/virus filtering fixes the problem. However now I get the following when I try to re-enable spam filtering or virus filtering:

Failed to save enabled features : The Procmail program needed for spam filtering does not appear to be installed on your system, or has not yet been set up properly in Webmin's Procmail Mail Filter module. If your system does not use spam filtering, it should be disabled in Virtualmin's module configuration page.

Wed, 12/17/2008 - 11:32 (Reply to #4)
markw365

FIXED...

Apparently if you don't have mailbox_command setup in postfix, you will get the error. Configured postfix for procmail delivery and all is well now.

Topic locked