RV: Authentication Failure :-(

"Neil David J. Roberts" <[email protected]> Thu, 13 Jun 2002 21:53:38 +0200
Newsgroups gmane.comp.djb.checkpassword
Message-ID <[email protected]>
Sorry :-) Forgot to post to the list . . . here it is :-)


If you used maildirmake, you shouldn't have needed to chown the
individual subdirectories... At least I didn't, though it may have been
in my script. I appologize, I've yet to grab more morning coffee :)

Try a ps -e, and tell me (the list) if everything that should be, is in
fact running.

I'll have that tomorrow :-)

I too followed the "Life with Qmail" doc, and had only one minor hitch,
which was easily corrected. Have you ran:

qmail-pw2u </etc/passwd >/var/qmail/users/assign

*AND*

qmail-newu

I'm afraid I haven't. Should I ?

????? For those of you following along, I've got a really small script
to help with installation- just need to know where to send it. It ls's
/home and nabs the user names and passes them off to maildirmake. Its so
small in fact, that I'd rather just see it included in "Life with
Qmail". I recently had the misfoutune of setting up a RedHat boxen (<-
that's the unfortunate bit, seems companies aren't receptive to distros
with 'Slack' in their name) running Qmail and didn't feel like running
maildirmake for all 158 users. So, I ended up with a script to do it for
me.

Try doing it through the Linux Documentation Project (http://www.ldp.org)
or try mailing Dave Still <[email protected]>

***HOLD UP***
Caffiene is kicking in as I write this. You specifically state that you
created directoried in /home using maildirmake... You *THEN* addeed the
users? Doesn't Debian's 'adduser' command create home directories for
the users? The Maildir directories should be under each user, I.E.-
/home/Linus/Maildir

Well, it's 21:42 here in Spain, and my caffeine kick is well bellow 0. Aggh,
never the less I think I can think still. Here's my step-by-step guide to
pretend everything worked :

1) adduser neil
	password (x2)
	other info

2) maildirmake /home/neil
	ERR - Directory exists (hehehe)

3) userdel neil

4) rm -rf /home/neil

5) maildirmake /home/neil

6) adduser neil
	as follows

7) telnet localhost 110
	user neil
	pass test
	ERR - Auth Failure. RTFM Inmediatly

Anyway, my next step will be adduser neil, followed by maildirmake
/home/neil/Maildir :-)

I could be totally off base here, and I am newer to Qmail, but shouldn't
users be added before Maildir make does its thing?

Most probably, and that's where I was stupid :-)

-Micah

Neil

> -----Original Message-----
> From: Neil David J. Roberts [mailto:[email protected]]
> Sent: Wednesday, June 12, 2002 4:40 PM
> To: Mailing List Qmail Password
> Subject: ERR: Authentication Failure :-(
>
>
> Hiya !
>
> I was wondering if someone would kindly give me some
> guidelines to solve a minor problem? I created directories in
> /home usind "maildirmake name", followed by doing a chown
> name.name on cur/, tmp/ and new/. The users were then addes
> in passwd using the adduser command (debian linux). Anyway,
> the problem is, that I telnet to port 110, send my user and
> pass information, and it gives me an authentication failure.
> Unfortunatly my logs for qmail-pop3d don't tell anything. I
> used the Life With Qmail manual to install everything from
> scratch, and maybe a pointer to the problem can be that
> qmail-smtpd can't find the mailboxes :-( Ugh... Hewp Pwease ?
>
> Thx in advance, Neil
>