|
From: Jamie C. <jca...@we...> - 2005-10-22 23:35:24
|
Hmm .. perhaps there is a Usermin bug that only appears on OSX. If you use the Scheduled Cron Jobs module to create a job, does it get correctly run as the logged-in Usermin user? - Jamie On Sun, 2005-10-23 at 02:11, Jason Self wrote: > Yes; I've logged in as a test user I've created as well as myself. The > cron jobs always get created as the root user. > > On 10/22/05, Jamie Cameron <jca...@we...> wrote: > > I would say that the fact that the cron job is run as root is the cause > > of the problem .. however, on my system it is always created as the correct user. > > I presume that you logged into Usermin as some non-root user, went to the Fetchmail > > module and enabled scheduled checking? If you login as root, it will set up a Cron > > job that one check root's Fetchmail config. > > > > - Jamie > > > > On 22/Oct/2005 16:00 Jason Self wrote .. > > > Usermin 1.170 (with Fetchmail updates applied) > > > Webmin 1.240 > > > Mac OS X Server 10.3.9 > > > > > > Progress is being made. Now fetchmail is actually started > > > periodically, but returns the error "no mailservers have been > > > specified" and I think I know why. > > > > > > Usermin appropriately creates the .fetchmailrc file in my test user's > > > home directory. When configuring scheduled checking via Usermin, > > > though, the cron job is created so that ~/.usermin/fetchmail/check.pl > > > is run by root, and not by the individual user. > > > > > > The root user doesn't have a .fetchmailrc file so fetchmail spits the > > > error and bails. > > > > > > I manually ran ~/.usermin/fetchmail/check.pl as the test user and it > > > worked correctly. So the solution seems to be installing the cron jobs > > > as the user that's running fetchmail and not root. Yes? No? > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by: > > > Power Architecture Resource Center: Free content, downloads, discussions, > > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > > - > > > 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 > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: > > Power Architecture Resource Center: Free content, downloads, discussions, > > and more. http://solutions.newsforge.com/ibmarch.tmpl > > - > > 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 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > - > 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 |