[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: qmail setup question



On Friday 04 Mar 2005 19:09, Tim Traver wrote:
> Hi all,
>
> ok, this is probably way too simple of a question, but I couldn't
> decipher what I'm doing fundamentally wrong from all the docs...
>
> ok, I've set up qmail following the instructions at life with qmail, and
> the daemons are all running.
>
> I don't want to use the system users for mail. I want to use specified
> directories for mail delivery to specific accounts.

Install vpopmail and qmailadmin and let them do the heavy breathing for you

>
> I'm using Maildir, so my rc file looks like this :
>
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start "`cat /var/qmail/control/defaultdelivery`"
>
> and my default delivery is simply "./Maildir/"
>
> Everything starts up ok, and I have the following in the control files:
>
> rcpthosts:
> localhost
> testdomain.com
>
> virtualdomains:
> testdomain.com:testdomain.com
>
> /users/assign:
> +testdomain.com-:testdomain.com:100:100:/var/qmail/domains/testdomain.com:-
>:: .
>
> I've created /var/qmail/domains/testdomain.com/test as well as the
> Maildir inside it (using makemaildir).
>
> Of course, I've rebuilt the cdb files and restarted everything.
>
> When I try and send mail to that address "test@xxxxxxxxxxxxxx", it
> accepts it, but then bounces it saying that there is no user by that
> address.
>
> I've checked directory permissions and ownership, and they seem to be
> correct.
>
> I must be missing something easy, but i just get a bounce that says :
>
> "Sorry, no mailbox here by that name. (#5.1.1)"
>
> anyone help ?
>
> Thanks,
>
> Tim.

-- 
-----------------
Bob Hutchinson
Midwales dot com
-----------------