Unix and Linux Discussions Tagged with assignment |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
8 |
2,855 |
Shell Programming and Scripting |
|
|
|
0 |
2,049 |
What is on Your Mind? |
|
|
|
1 |
2,563 |
Homework & Coursework Questions |
|
|
|
3 |
5,094 |
Web Development |
|
|
|
4 |
14,246 |
Shell Programming and Scripting |
|
|
|
8 |
19,805 |
Shell Programming and Scripting |
|
|
|
3 |
2,345 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
12,956 |
Programming |
|
|
|
2 |
3,462 |
Shell Programming and Scripting |
|
|
|
5 |
16,855 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,908 |
Shell Programming and Scripting |
|
|
|
5 |
8,063 |
AIX |
|
|
|
3 |
6,220 |
Shell Programming and Scripting |
|
|
|
0 |
5,763 |
Shell Programming and Scripting |
|
|
|
7 |
8,251 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
2,163 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
6,131 |
Cybersecurity |
|
|
|
1 |
3,277 |
Programming |
|
|
|
2 |
3,971 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,360 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,704 |
UNIX for Dummies Questions & Answers |
qmail-users(5) File Formats Manual qmail-users(5)
NAME
qmail-users - assign mail addresses to users
OVERVIEW
The file /var/lib/qmail/users/assign assigns addresses to users. For example,
=joe.shmoe:joe:503:78:/home/joe:::
says that mail for joe.shmoe should be delivered to user joe, with uid 503 and gid 78, as specified by /home/joe/.qmail.
Assignments fed to qmail-newu will be used by qmail-lspawn to control qmail-local's deliveries. See qmail-newu(8). A change to
/var/lib/qmail/users/assign will have no effect until qmail-newu is run.
STRUCTURE
/var/lib/qmail/users/assign is a series of assignments, one per line. It ends with a line containing a single dot. Lines must not contain
NUL.
SIMPLE ASSIGNMENTS
A simple assignment is a line of the form
=local:user:uid:gid:homedir:dash:ext:
Here local is an address; user, uid, and gid are the account name, uid, and gid of the user in charge of local; and messages to local will
be controlled by homedir/.qmaildashext.
If there are several assignments for the same local address, qmail-lspawn will use the first one.
local is interpreted without regard to case.
WILDCARD ASSIGNMENTS
A wildcard assignment is a line of the form
+loc:user:uid:gid:homedir:dash:pre:
This assignment applies to any address beginning with loc, including loc itself. It means the same as
=locext:user:uid:gid:homedir:dash:preext:
for every string ext.
A more specific wildcard assignment overrides a less specific assignment, and a simple assignment overrides any wildcard assignment. For
example:
+:alias:7790:2108:/var/lib/qmail/alias:-::
+joe-:joe:507:100:/home/joe:-::
=joe:joe:507:100:/home/joe:::
The address joe is handled by the third line; the address joe-direct is handled by the second line; the address bill is handled by the
first line.
SEE ALSO
qmail-pw2u(8), qmail-newu(8), qmail-lspawn(8)
qmail-users(5)