Mail Archives: cygwin/2001/03/16/03:36:16
On Fri, Mar 16, 2001 at 10:52:25AM +0900, Rue. SATOH wrote:
> Corinna Vinschen:
> > Did it build OOTB or did you patch it somehow?
> >
> > That sounds interesting. Together with ssmtp and fetchmail with -mda
> > option we would have a full mailing system.
>
> I'll send a patch for maildrop to cygwin AT cygwin DOT com.
> But this patch is *dirty*.
>
> Maildrop use 'setuid()' like functions for delivery to other user expect
> one who launched maildrop. I cannot resolve this problem.
> Corinna, can you solve this problem?
Probably but I have definitely not the time to do this right now.
In theory that should be no problem. As a first hack simply
uncomment these calls or ignore the return value. If maildrop
uses strict chmod settings, open them up. If maildrop then works
without complaining we could care to rearranging security again.
I have written a function for OpenSSH which checks if security
makes sense, dependent of the used file system and if ntea/ntsec
are on or off. We could recycle that functionality as desired.
However, I saw in your patch that you have used `#ifndef __CYGWIN__'
in the setprocgroup function. Why didn't you simply undef the
HAS_SETPGRP and HAS_SETPGID defines in config.h resp. unset them
explicitely in configure.in when building for a cygwin target?
This is way cleaner.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -