Menu

#3767 Checking Configuration

open-fixed
nobody
5
2010-10-05
2010-10-01
siegfried
No

i have many times this error:

SpamAssassin and Procmail are installed and configured for use.

The procmail command procmail has 0 permissions, when it should be setuid and setgid to root. Email may not be properly delivered or checked for spam.

.. your system is not ready for use by Virtualmin.

-rwsr-sr-x 1 root mail 89240 2009-12-22 22:41 /usr/bin/procmail*

Operating system Ubuntu Linux 10.04.1
Virtualmin version 3.80.gpl GPL

I can't correct this
I must install a fresh Ubuntu and run install.sh from Virtualmin
so I lost all my sites

sigi

Discussion

  • siegfried

    siegfried - 2010-10-01
    • labels: --> Procmail Mail Filter
     
  • Jamie Cameron

    Jamie Cameron - 2010-10-01

    Looks like the real issue may be that the procmail path in /etc/postfix/main.cf is wrong. What output do you get from the command :

    grep mailbox_command /etc/postfix/main.cf

     
  • siegfried

    siegfried - 2010-10-01

    > Comment By: Jamie Cameron (jcameron)
    Date: 2010-09-30 20:49

    Message:
    Looks like the real issue may be that the procmail path in
    /etc/postfix/main.cf is wrong. What output do you get from the command :

    grep mailbox_command /etc/postfix/main.cf

    ----------------------------------------------------------------------

    grep mailbox_command /etc/postfix/main.cf
    mailbox_command = procmail -a "$EXTENSION"

    this is the reponse

    sigi

     
  • Jamie Cameron

    Jamie Cameron - 2010-10-01

    Try changing that to :

    mailbox_command = /usr/bin/procmail -a "$EXTENSION"

     
  • siegfried

    siegfried - 2010-10-05

    here is the output of ls -r
    -rwsr-xr-x 1 root root 89240 2009-12-22 22:41 /usr/bin/procmail*
    -rwsr-xr-x 1 root root 4536 2006-12-14 05:00 /usr/bin/procmail-wrapper*

    the file /usr/bin/procmail-wrapper has the right setings

    the chmod --help says : chmod [OPTION]... --reference=RFILE FILE.

    now I type : chmod --reference=/usr/bin/procmail-wrapper /usr/bin/procmail

    and now it works and the error is gone

    I don't have the right options for chmod with out the refercence

    sigi

     
  • siegfried

    siegfried - 2010-10-05
    • status: open --> open-fixed
     

Log in to post a comment.

Auth0 Logo