Paco, COS5 changed the default setting for sudo to require a tty. I've commented that out for you.
Let us know if that fixes things up. Francisco Paco Peralta wrote: > Now cron is generating the following message every hour: > > ************************** > /etc/cron.hourly/qtp-clean-spam: > > sudo: sorry, you must have a tty to run sudo > *************************** > > Francisco "Paco" Peralta > > > ----- Original Message ---- > From: Eric Shubert <[EMAIL PROTECTED]> > To: [email protected] > Sent: Thursday, June 5, 2008 2:22:31 PM > Subject: Re: [qmailtoaster] qtp-clean-spam can't find sys rules directory > > The qtp-clean-spam script was executing the final "sa-learn --sync" as root > instead of vpopmail. I modified it to "sudo -u vpopmail -H" like the other > sa-learn command. Let me know if it goes away, and I'll get the fix into qtp > permanently. > > Eric Shubert wrote: >> Paco, >> >> Sorry I seem to have overlooked your original post. >> >> I'll log in and have a look if that's ok with you. ;) I probably missed >> something trivial. >> >> Francisco Paco Peralta wrote: >>> Any thoughts? >>> >>> Francisco "Paco" Peralta >>> >>> >>> ----- Original Message ---- >>> From: Francisco Paco Peralta <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> >>> To: QmailToaster MailList <[email protected] > <mailto:[email protected]>> >>> Sent: Tuesday, June 3, 2008 12:19:11 PM >>> Subject: [qmailtoaster] qtp-clean-spam can't find sys rules directory >>> >>> >>> Cron has been sending me hourly emails lately with the following message: >>> >>> /etc/cron.hourly/qtp-clean-spam: >>> >>> config: could not find sys rules directory >>> >>> Any idea where the directory should be, where I can find it or perhaps >>> if I could change the config file? >>> >>> Any suggestion is welcome. >>> >>> Thanks, >>> >>> >>> Francisco "Paco" Peralta >>> >> >> > > > -- > -Eric 'shubes' > -- -Eric 'shubes' --------------------------------------------------------------------- QmailToaster hosted by: VR Hosted <http://www.vr.org> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
