On Monday, November 26, 2001, at 10:47 PM, Mate Wierdl wrote:

> I have
>
> # rpm -q courier-imap
> courier-imap-1.3.12-1.7.2
>
> What you are saying is that vopmail is a build prerequisite for
> courier-imap.  This makes it very difficult to make a courier-imap
> binary package (rpm) which would work at sites with or without
> vpopmail.
>
> With vmailmgr, apparently I just have to put a module in
> /usr/lib/courier-imap/libexec/authlib/.  Is there anything like that
> in the workings for vpopmail?

It's the same thing.  You need the authvchkpw module compiled.  But 
since vpopmail can use different authentication modules, authvchkpw must 
be compiled to work with libvpopmail.  If you distribute your vpopmail 
and courier-imap rpms together (built to work together), you should be 
ok.  Otherwise, just compile it.  It's really easy.


>> You'll have problems reading libvpopmail.a when compiling courier-imap
>> as a non root user.  You'll need to temporarily change permissions on
>> libvpopmail.a before compiling.
>
> Which makes it impossible to build a courier-imap rpm as nonroot...
>
> Why is it necessary to build vpopmail as root (configure aborts if I
> am not root)?

It's a security issue, and is documented in the archives.  Possibly 
INSTALL as well, but I don't recall.

-Bill

Reply via email to