I'm setting up a mail server where my users each have a virtual email
account in a Courier IMAP userdb file. My qmail interface with this works
great, but I foresee problems when I start switching over all my users...
maintenance.
I have all the users in users/assign, which then turns things over to a
user "courier." Like so,
users/assign:
=jones:courier:4500:11:/home/courier:-:jones:
=smith:courier:4500:11:/home/courier:-:smith:
=thompson:courier:4500:11:/home/courier:-:thompson:
.
Now, in /home/courier, I have some .qmail files which direct message
delivery to respective maildirs,
drwxr-xr-x 6 courier mail 512 Jun 13 15:34 .
drwxr-xr-x 4 root wheel 512 May 29 15:43 ..
-rw------- 1 courier mail 16 Jun 13 15:28 .qmail-jones
-rw------- 1 courier mail 20 Jun 4 09:18 .qmail-smith
-rw------- 1 courier mail 27 Jun 4 15:30 .qmail-thompson
drwx------ 5 courier mail 512 Jun 13 14:37 Maildir-jones
drwx------ 8 courier mail 512 Jun 13 15:39 Maildir-smith
drwx------ 61 courier mail 3072 Jun 13 13:47 Maildir-thompson
And then in .qmail-jones, I have:
./Maildir-jones/
I started thinking, though, that I could simplify it a little. I poked
around the manpages and saw in dot-qmail:
If .qmail-ext doesn't exist, qmail-local will try some
default .qmail files. For example, if ext is foo-bar,
qmail-local will try first .qmail-foo-bar, then .qmail-foo-
default, and finally .qmail-default.
So I thought, "Why have all those separate .qmail files?" I then created
one simple .qmail-default file containing:
./Maildir-$EXT/
And deleted all the remaining .qmail-<whatever> files.
This, however, did not work. And the log was a bit modest in its
diagnosis:
failure: Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
So my question is two-fold... what have I done wrong in this particular
case... is $EXT the wrong variable? Also, does anything jump out at you that
could simplify my overall scheme? I don't have a huge userbase, about 40,
but it's enough that I need to automate a few things.
--
Drew