+ Frank Greven <[EMAIL PROTECTED]>:
| What exactly is the dirfference between qmail-users and the alias
| files or in other words in which case should I use users in which
| alias?
A file ~alias/.qmail-* file will never override an existing user. You
will have to use the qmail-users mechanism for that.
If you have NIS or NIS+ on your machine, you should be aware that
qmail-getpw cannot distinguish between a temporary NIS(+) error and a
non-existent user. So having all users in users/cdb is safer.
users/assign is more flexible than the alias mechanism. For example,
there is no way the alias mechanism can manage the equivalent of a
line in users/assign starting "+foobar/:" (unless of course your break
character is /).
Other than that, ~alias/.qmail-* is a simpler way of life and
sufficient for most needs.
Personally, I maintain a number of aliases by having lines like
=foo:alias:123:456:/var/qmail/alias:+:foo:
in the users/assign file. Mail to foo is then controlled by
~alias/.qmail+foo. The + sign in the file name serves as a useful
reminder that these delivery instructions can only be accessed via
users/cdb.
- Harald