OK, I'm going round in circles with this one ... help!
I have a server which has real users on it: user1, user2, user3.
They all have Maildirs set up for them.
The server is known as domain1.com, domain2.com and domain3.com
"control/me" is "domain1.com".
I want these to work:
user1 at domain1.com
user2 at domain2.com
user3 at domain3.com
but I want all OTHER combinations to be bounced!
Obviously (?) I can't put anything in the "control/locals" file,
because whatever I put in there appears to activate ALL the
local user accounts for that domain.
So I put something like this in the control/virtualdomains file:
domain1.com:alias-domain1
domain2.com:alias-domain2
domain3.com:alias-domain3
and in ~alias I made files like this:
.qmail-domain1-user1
.qmail-domain2-user2
.qmail-domain3-user3
But what do I put in these files? I tried putting this sort of thing,
as per the manual:
eg ~alias/.qmail-domain-user2:
/home/user2/Maildir/
but I get "Unable_to_chdir_to_maildir" errors. I also tried just
user2
but I get "Sorry,_no_mailbox_here_by_that_name" errors, because I guess
it's looking for a .qmail-domain1-user2 alias ...
So what should I be doing?
Thanks,
Martin
--
### Martin Dougiamas ###
### http://dougiamas.com ###