Today, Uri Guttman wrote:
>
> i would like to be able to keep some of my .qmail files out of my home
> dir as they are cluttering it up as i add new lists. also i would like
> to be able to manage ~alias's .qmail files as my user id. i own the
> entire private net and box so i don't have any problems with security
> and there are no other users.
>
> i tried to make ~alias's files owned by me but it seems to fail. i just
> don't want to have to su to root to create new lists and such in ~alias.
>
> any ideas? i didn't see anything about this in the FAQ or on the qmail
> pages.
To quote myself from http://www.qmail.org/top.html:
Vern Hart doesn't like a pile of .qmail files in his home
directory. So he uses users/assign to put them into a
subdirectory:
=vern:vern:2244:18:/home/vern:::
+vern-:vern:2244:18:/home/vern:s/::
This puts .qmail and .qmail-default in his home directory but
everything else is in .qmails/. This changes ~/.qmail-foo to
~/.qmails/foo and really cleans up his home.
As far as the alias user goes, you could change the name in the
source code or give the alias user the same uid as yourself in
/etc/passwd. Or, better yet, su to alias to create lists and such.
You don't have to be root, just be alias. Or, your could set up
a virtualdomain for the main domain on the box and have it send the
mail to your .qmail files, etc. There's lots of ways to solve that
problem.
Cheers,
Vern