From owner-freebsd-questions  Tue Mar 27  5:26: 5 2001
Delivered-To: freebsd-questions@freebsd.org
Received: from clmboh1-smtp3.columbus.rr.com (clmboh1-smtp3.columbus.rr.com [65.24.0.112])
	by hub.freebsd.org (Postfix) with ESMTP id 6A82037B71A
	for <freebsd-questions@FreeBSD.ORG>; Tue, 27 Mar 2001 05:26:00 -0800 (PST)
	(envelope-from wmoran@iowna.com)
Received: from iowna.com (dhcp065-024-023-038.columbus.rr.com [65.24.23.38])
	by clmboh1-smtp3.columbus.rr.com (8.11.2/8.11.2) with ESMTP id f2RDNEH10519;
	Tue, 27 Mar 2001 08:23:14 -0500 (EST)
Message-ID: <3AC093D3.A44DD3B9@iowna.com>
Date: Tue, 27 Mar 2001 08:21:23 -0500
From: Bill Moran <wmoran@iowna.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.3-RC i386)
X-Accept-Language: en
MIME-Version: 1.0
To: Luke Kearney <lukek@tkh.att.ne.jp>
Cc: Free BSD <freebsd-questions@FreeBSD.ORG>
Subject: Re: Qmail vchkpw
References: <INENKBKNHIHCLECCNBLKMENODDAA.lukek@tkh.att.ne.jp>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

Luke Kearney wrote:
> 
> Hi All,
> I am battling away here with my old Pal qmail.  I am going through the
> process of converting mail domains to virtual mail domains and as with many
> things I am finding qmail is not playing nicely. I went through the standard
> process of using vadddomain to create the new virtual mail domain. OK that
> seemed to work well with the appropriate files turning up under the
> /vpopmail/domains/ folder. In a moment of sheer gusto I then tried to add
> myself as a user. Again ./vadduser lukek@domain.org , again the file turn up
> in the right place and i thought to give it a test but when I try to login I
> get the errors below.
> 
> #telnet 0 110
> Trying 0.0.0.0...
> Connected to 0.
> Escape character is '^]'.
> +OK <943.985664825@vchkpw>
> user lukek%hanabitaikai.org
> +OK
> pass #$@#$
> -ERR this user has no $HOME/Maildir
> Connection closed by foreign host.
> 
> I checked the user directory under the newly created domain and yes there is
> a Maildir there which I created using /var/qmail/bin/makemaildir. <-- was
> this not such a great idea perhaps ??  In my ignorance I then made a .qmail
> file telling it to put everything in ./Maildir/

You shouldn't have to do anything other than use vadduser to add the
user. It will create the Maildir and set everything else automatically.
Try removing that user (and everything else you did in adding it) and
recreating it simply by using the vadduser command.
This is assuming that qmail and the virtual domain system were installed
correctly.

-Bill

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message