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.