This is the mail archive of the
mailing list for the Cygwin project.
Re: Multiple users in fetchmail
On Mon, Aug 12, 2002 at 09:28:48AM -0400, Jason Tishler wrote:
> On Mon, Aug 12, 2002 at 10:31:13AM +0200, Corinna Vinschen wrote:
> > On Sun, Aug 11, 2002 at 02:02:04PM +0100, Jim George wrote:
> > > in the Linux version of fetchmail I was able to run the daemon as
> > > root and fetch/deliver mail (through procmail) for multipl users.
> > > Reading the man/README/archives of this list, I don't appear to have
> > > that option anymore. I also don't appear to be able to install/run
> > > to instances of the same service under different user IDs.
> > Try running fetchmail in daemon mode as service under SYSTEM account.
> Grep-ing the fetchmail code, I get the following:
> $ grep 'set.*uid' *.c
> sink.c: seteuid(ctl->uid);
> sink.c: seteuid(0);
> So, I presume that I will have to change the second hit above to:
uid_t orig_uid = getuid ();
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html