Re: .. a few hours with qmail-pop3d

1999-05-26 Thread Robbie Walker

You had problems in each of the lines except the last ones. The Dave's
wonderful life version was closest, but you needed /bin/checkpasswd instead
of just passwd.

The FAQ instructions did not include the inetd.conf lines you showed. The
instructions explicitly said that qmail-popup was in there twice.

From the qmail FAQ section 5.3:
==
5.3. How do I set up qmail-pop3d? My old POP server works with mbox
delivery; I'd like to switch to maildir delivery.

Answer: Four steps. First, install the checkpassword program
(http://pobox.com/~djb/checkpwd.html). Second, make sure you have a

   pop3 110/tcp

line in /etc/services. Third, put (all on one line, including
qmail-popup twice)

   pop3 stream tcp nowait root
   /var/qmail/bin/qmail-popup qmail-popup
   YOURHOST /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir

into /etc/inetd.conf, and give inetd a HUP; replace YOURHOST with your
host's fully qualified domain name. Fourth, set up Maildir delivery for
any user who wants to read mail via POP.

If you have tcpserver installed, skip the inetd step, and set up (on two
lines)

   tcpserver 0 pop3 /var/qmail/bin/qmail-popup YOURHOST \
   /bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

replacing YOURHOST with your host's fully qualified domain name. See
question 5.1 for more details on tcpserver.

Security note: pop3d should be used only within a secure network;
otherwise an eavesdropper can steal passwords.
===

At 07:12 PM 5/25/99 , you wrote:
Hi,

I've just had a few hours with qmail-pop3d and I'd like to highlight a few 
things i've learn't...

I started out with this in inetd.conf and a broken Maildir permissions.

Fixing the permissions was easy, but this still was reporting a 'no 
home/maildir found'
 pop3 stream tcp nowait root /var/qmail/bin/qmail-popup ice.gradwell.com 
/bin/checkpassword
 /var/qmail/bin/qmail-pop3d Maildir

so, I wen't to the djb faq and looked at this:

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup ice.gradwell.com 
/bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir

and also to Dave's wonderful life with qmail...

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup 
ice.gradwell.com checkpassword
/var/qmail/bin/qmail-pop3d Maildir

but non of these worked.

So I went back to checkpassword, recompiled, ran the tests, and it worked :-(

so I gave up on inetd, and went to tcpserver...

I tried this:

tcpserver 0 110 /var/qmail/bin/qmail-popup ice.gradwell.com \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

but this didn't work either... so I went back to the checkpassword tests, 
and found I was using
'ice' as my hostname. This finally works:

tcpserver 0 110 /var/qmail/bin/qmail-popup ice \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

Now, I'm not sure, why, how or where the difference is, but I though't I'd 
record this for archive
prosperity, and I'd like to urge all you knowledgeable documentation writers 
to mention it! 'cause
it's just cost me several hours of sleep :-)

thanks to Manohar Pradhan for his help.

peter.

--
peter at gradwell dot com; http://www.gradwell.com/
gradwell dot com Ltd. Enabling the internet you don't see.

 ... just another (profitable) student ...


--
NovaMetrix Development 
Robbie Walker, head muckety-muck

P.O. Box 635 or 910-653-4006
106-B S. Main St800-773-5647
Tabor City, NC 28463910-653-2052 FAX







.. a few hours with qmail-pop3d

1999-05-25 Thread Peter Gradwell

Hi,

I've just had a few hours with qmail-pop3d and I'd like to highlight a few things i've 
learn't...

I started out with this in inetd.conf and a broken Maildir permissions.

Fixing the permissions was easy, but this still was reporting a 'no home/maildir found'
 pop3 stream tcp nowait root /var/qmail/bin/qmail-popup ice.gradwell.com 
/bin/checkpassword
 /var/qmail/bin/qmail-pop3d Maildir

so, I wen't to the djb faq and looked at this:

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup ice.gradwell.com 
/bin/checkpassword
/var/qmail/bin/qmail-pop3d Maildir

and also to Dave's wonderful life with qmail...

pop3 stream tcp nowait root /var/qmail/bin/qmail-popup qmail-popup ice.gradwell.com 
checkpassword
/var/qmail/bin/qmail-pop3d Maildir

but non of these worked.

So I went back to checkpassword, recompiled, ran the tests, and it worked :-(

so I gave up on inetd, and went to tcpserver...

I tried this:

tcpserver 0 110 /var/qmail/bin/qmail-popup ice.gradwell.com \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

but this didn't work either... so I went back to the checkpassword tests, and found I 
was using
'ice' as my hostname. This finally works:

tcpserver 0 110 /var/qmail/bin/qmail-popup ice \
/bin/checkpassword /var/qmail/bin/qmail-pop3d Maildir 

Now, I'm not sure, why, how or where the difference is, but I though't I'd record this 
for archive
prosperity, and I'd like to urge all you knowledgeable documentation writers to 
mention it! 'cause
it's just cost me several hours of sleep :-)

thanks to Manohar Pradhan for his help.

peter.

--
peter at gradwell dot com; http://www.gradwell.com/
gradwell dot com Ltd. Enabling the internet you don't see.

 ... just another (profitable) student ...