GNU Mailutils Manual (split by node):   Section:   Chapter:FastBack: Programs   Up: configuration   FastForward: Libraries   Contents: Table of ContentsIndex: Function Index

3.2.16 The homedir Statement

Syntax

homedir {
  # Create user home directory if needed.
  create bool;
  # File mode for newly created directories.  
  mode octal;
}

Description

This statement defines the actions a program is to take if a user’s home directory does not exist. It affects the following utilities: imap4d, lmtpd, mda, and putmail.

homedir: create bool

If bool is true, create the missing home directory. If necessary, create also any missing intermediate directories in its pathname.

If false, signal an error and terminate.

homedir: mode octal

When creating home directory, set its file mode to the given value. The argument is a three-digit octal value.

The default value is ‘700’ (‘drwx------’ in ls terms).

Notice, that it applies only to newly created home directories. If any intermediate directories need to be created, they will have the mode ‘755’.