From: RYAN M. v. G. <ry...@co...> - 2012-10-16 21:09:08
|
ok thanks again and again and again thats gotten it working, also i am sure virtualmin had set this stuff up correctly, but i had messed around with the postfix system on this machine awhile back, and probably broke it. I think i have postfix set to local incoming mail only ie dpkg-reconfigure postfix is local delivery with smarthost relay. If i do another reconfigure will it mess stuff up again? what is the best way to get incoming and outgoing email working with virtualmin again? ----- Original Message ----- From: "Jamie Cameron" <jca...@we...> To: "Webmin users list" <web...@li...> Sent: Tuesday, 16 October, 2012 2:35:23 PM Subject: Re: [webmin-l] The procmail has 0 permissions Yes, the line needs to be : mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME Also, /usr/bin/procmail-wrapper needs to have these permissions : # ls -l /usr/bin/procmail-wrapper -rwsr-sr-x. 1 root root 4994 May 10 2007 /usr/bin/procmail-wrapper A default Virtualmin install should set all this up though. On 16/Oct/2012 12:41 RYAN M. vAN GINNEKEN <ry...@co...> wrote .. 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/we bmin/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 ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev - Forwarded by the Webmin mailing list at web...@li... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list |