OpenBSD/Exim POSIX.pm setrgid error

Julian Field mailscanner at ecs.soton.ac.uk
Wed Oct 16 10:42:08 IST 2002


Here is Nick's summary of the problem:

> > >I am using Exim on OpenBSD and like the ability to run it as user exim
> and
> > >group mail. When I try to do this with MailScanner it spits out:
> > >
> > >setrgid() not implemented at ../../lib/POSIX.pm (autosplit into
> > >../../lib/auto/POSIX/setgid.al) line 739.
> > >
> > >Any insights on a fix or workaround if it is an OpenBSD problem?
>
>Slightly longer story: BSD has historically not made up its mind whether
>it's going to have a setrgid/setruid syscall or not. Currently it probably
>does, depending on what version you have.
>When building perl, configure checks for setruid/setrgid, and makes loud
>noises if what it finds doesn't match the "recommended" setting for your
>platform (i.e. if on NetBSD or OpenBSD it *does* find setruid/setrgid, it
>recommends that you force configure to say "no, it's not here", in order
>to maintain portability across versions of your system.
>So if you have a version of *BSD *with* setruid/setrgid, you may be able
>to rebuild perl with it.

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list