Home Directories


Each user must have a home directory on the mail server.


  1. Login as the root user.
    [screenshot]

  2. Create a domain home directory.

    # mkdir -v /home/BFREE.ON.CA
    [screenshot]

    Note: The name of this directory must be capitalized.

  3. Create (or copy) the update-homes script.

    # mcedit /usr/local/sbin/update-homes
    [screenshot]

    The script reads as follows:
    [update-homes]

  4. Change the mode on the update-homes script to make it executable.

    # chmod -v 750 /usr/local/sbin/update-homes
    [screenshot]

  5. Run the update-homes script.

    # update-homes
    [screenshot]

    This command may take several minutes to finish.

  6. Verify that the home directories were created.

    # ls -la /home/BFREE.ON.CA | more
    [screenshot]

  7. Edit the /etc/crontab file.

    # mcedit /etc/crontab
    [screenshot]

    Add the following line to this file:

    0-59/15 * * * * root  /usr/local/sbin/update-homes
    

    The system will now update the home directories every fifteen minutes.