Hello again getting close to having virualmin running the way i like it and error free however i have couple of hurdles left working on debian squeeze and trying to get postfix working, or more to the point tring to get span/virus/procmail filter working but i keep getting this error. Email is always tough to get going for me so i left it for last. Anyways here is the error and some things i have done to try and fix it oh and as useual i ran may have messed things up by running a dpgk-reconfigure postfix and set it to local with smarthost as i did not think i was even going to use this system for email but now i am.
Failed to save enabled features : 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.
I have tried the following to fix it
grep mailbox_command /etc/postfix/main.cf
mailbox_command = procmail -a "$EXTENSION"
so tried changing it to this
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
I do have a /etc/procmailrc this looks like
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
EXITCODE=0
:0
* ?/usr/bin/test "$VIRTUALMIN" != ""
{
INCLUDERC=/etc/webmin/virtual-server/procmail/$VIRTUALMIN
}
DEFAULT=$HOME/Maildir/
ORGMAIL=$HOME/Maildir/
DROPPRIVS=yes
:0
$DEFAULT
root@host1:/home/c0mputerking# chgrp root /usr/bin/procmail
root@host1:/home/c0mputerking# ls -l /usr/bin/procmail
-rwxr-xr-x 1 root root 89720 Apr 25 2010 /usr/bin/procmail
root@host1:/home/c0mputerking# chmod ug+s /usr/bin/procmail
root@host1:/home/c0mputerking# ls -l /usr/bin/procmail
-rwsr-sr-x 1 root root 89720 Apr 25 2010 /usr/bin/procmail
ls -l /usr/bin/procmail*
-rwsr-sr-x 1 root root 89720 Apr 25 2010 /usr/bin/procmail
-rwxr-xr-x 1 root mail 4536 Dec 13 2006 /usr/bin/procmail-wrapper
Computer King CaN-Mail Surveillance King
http://computerking.ca http://canmail.org http://surveillanceking.net
Surveillance - Sales Service - Hosting Backup
Internet Based Surveillance Systems
Custom Service Pac kages
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online ERP and Accounting Packages
|