The procmail command procmail has 0 permissions, when it should be setuid and setgid to root. Email may not be properly delivere

I get this when I recheck and refresh configuration.

Virtualmin version 3.76 Pro

Status: 
Closed (fixed)

Comments

Howdy -- well, as the error mentions, it sounds like the permissions on your procmail install are awry.

What do you see if you type:

ls -l /usr/bin/procmail

It should look like this:

-rwsr-sr-x 1 root mail 72316 2007-03-27 14:35 /usr/bin/procmail

Here is the output of that command looks like you said it should.

root@hornet:/home/jhardy# ls -l /usr/bin/procmail -rwsr-sr-x 1 root mail 72316 2007-03-27 11:35 /usr/bin/procmail

Okay, how about the procmail-wrapper program:

ls -l /usr/bin/procmail-wrapper

that should look like:

-rwsr-xr-x 1 root root 2916 2006-11-28 04:08 /usr/bin/procmail-wrapper

root@hornet:/home/jhardy# ls -l /usr/bin/procmail-wrapper -rwsr-xr-x 1 root root 2916 2006-11-28 01:08 /usr/bin/procmail-wrapper

Also, what is the output from :

grep mailbox_command /etc/postfix/main.cf

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

Looks like I found the problem. the mailbox_command in the main.cf file was like this. mailbox_command = procmail -a "$EXTENSION"

I changed it to this and it fixed the problem. mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME

Thanks for your help

Ok, that would explain it ..

Automatically closed -- issue fixed for 2 weeks with no activity.