qmail-users - assign mail addresses to users
The file /var/lib/qmail/users/assign
assigns addresses to users. For
says that mail for joe.shmoe
should be delivered to user joe
uid 503 and gid 78, as specified by /home/joe/.qmail
Assignments fed to qmail-newu
will be used by qmail-lspawn
's deliveries. See qmail-newu
(8). A change to
will have no effect until qmail-newu
is a series of assignments, one per line. It
ends with a line containing a single dot. Lines must not contain NUL.
A simple assignment is a line of the form
is an address; user
, and gid
account name, uid, and gid of the user in charge of local
; and messages
will be controlled by
If there are several assignments for the same local
will use the first one.
is interpreted without regard to case.
A wildcard assignment is a line of the form
This assignment applies to any address beginning with loc
itself. It means the same as
for every string ext
A more specific wildcard assignment overrides a less specific assignment, and a
simple assignment overrides any wildcard assignment. For example:
The address joe
is handled by the third line; the address
is handled by the second line; the address bill
handled by the first line.
qmail-pw2u(8), qmail-newu(8), qmail-lspawn(8)