Next
Previous
Contents
Now that you have successfully compiled and installed authmkhome, you need to
- tell courier you want to use it
- tell authmkhome how to create home directories
There's one important thing you must be aware of before configuring authmkhome:
courier uses a list of modules to authenticate the user. The first module that
successfully authenticates the user, enters the home directory of the user. Once
there, the authentication goes on and authmkhome is called. However, if the first module fails to change
the directory, the authentication will immediately stop, without a chance for
authmkhome to create the needed directories. There are two solutions to this problem:
- You set in your database a generic home directory (like /home) and you let
your script change to the correct directory.
- You use authmkhome just to create the ``Maildir'' subdirectory under the
home of the user.
The first method is not quite usable if you have shell users and you use the
standard /etc/passwd file to retrieve authentication data for courier. However,
it should be trivial to correctly set up authmkhome in any other case and the
second method should be more than enough if you have shell users.
Next
Previous
Contents