10 messages in net.sourceforge.lists.courier-usersRE: [courier-users] Problems building...
FromSent OnAttachments
EndaJan 28, 2006 10:44 am 
EndaJan 28, 2006 12:11 pm 
Sam VarshavchikJan 28, 2006 1:53 pm 
EndaJan 28, 2006 3:23 pm 
Egbert JanJan 28, 2006 3:37 pm 
Sam VarshavchikJan 28, 2006 5:51 pm 
EndaJan 29, 2006 8:56 am 
Sam VarshavchikJan 29, 2006 9:17 am 
EndaJan 29, 2006 10:55 am 
Bowie BaileyJan 30, 2006 9:20 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: [courier-users] Problems building courier.Actions...
From:Bowie Bailey (Bowi@BUC.com)
Date:Jan 30, 2006 9:20:38 am
List:net.sourceforge.lists.courier-users

Enda wrote:

Sam Varshavchik wrote:

A lot of people managed to get by with just a simple process:

1) Install courier-authlib, according to the instructions in INSTALL.

2) Install courier, according to the instructions in INSTALL.

If your MAILUID and MAILGID is not set correctly, it indicates that courier-authlib was not installed properly.

Well.... I uninstalled authlib and zapped the sources and rebuilt from there, and now I've got a build of courier. Not sure what I've done differently this time.

For anyone thats interested, and for the sake of Google searches by other lost souls, the configuration parameters relating to users and groups are:

MAILUSER MAILGROUP MAILUID MAILGID

These appear to be set automatically by a correct install of Authlib, where mailuser and mailgroup get assigned the highlevel user and group names, eg courier and courier, and the mailuid and mailgid get assigned the number id values.

You can certainly overide the first two when compiling courier by using --with-mailuser and --with-mailgroup and I'd suspect you could overide the last two with --with-mailuid and --with-mailgid although, as Sam will quickly point out, that should not be necessary if everything else is properly configured. God knows what else would be missing if you adopted that route, and I'm sick of watching courier build at this stage to go back and see.

Ummm... No. Go back and read Sam's posts again...

Sam Varshavchik wrote:

The --with-mailuser and --with-mailgroup options are not documented anywhere in INSTALL, and you are not to use them directly. They are for internal use only.

Sam Varshavchik also wrote:

Forget that these two options exist, for Courier. Wipe them from your memory.

--with-mailuser and --with-mailgroup _CAN_NOT_BE_USED_ when building Courier. If you want to adjust the mailuser and mailgroup for Courier, you must do it while building Courier-Authlib. Courier gets these values from the Courier-Authlib installation.