2 messages in net.sourceforge.lists.courier-users[courier-users] courier-imap: courier...
FromSent OnAttachments
Math...@virtual-earth.deSep 14, 2001 3:33 pm 
Math...@virtual-earth.deSep 14, 2001 3:37 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] courier-imap: couriertcpd starts second+n imapd with strange uids - completely unusableActions...
From:Math...@virtual-earth.de (Math@virtual-earth.de)
Date:Sep 14, 2001 3:37:41 pm
List:net.sourceforge.lists.courier-users

Sorry if you get this twice, but I think I sent the first one before my subscription succeeded :(

--- original message -----

I'm stuck here, so maybe somebody can help me:

I have just installed courier-imap & vpopmail & qmail 1.03 w. qmail-smtp-auth.

Everythings works quite nicely, BUT:

I can only reliably login to courier using tkrat, using netscape or the webmail-ui's IMP or TWIG I get one login at most and then imapd is started under strange uids and can't read the mailboxes anymore.

Sorry if this is not much, but I'm dead tired now and can't think of anything more usefull to say.

This is the ps-output from the first (tkrat) and second (netscape, i think) imap

mars# ps -aux|grep imapd root 27164 0,0 0,4 1364 260 p0 I 12:08am 0:00,47
/usr/local/bin/imapd Maildir 2147483647 27189 0,0 0,3 1176 203 p0 S 12:09am 0:00,01
/usr/local/bin/imapd Maildir

After this has happened once, I can no longer login using any client - not even through tkrat :( I have to restart courier, then everything works for a few connections.

mars# uname -a FreeBSD mars.virtual-earth.de 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri Sep 14
12:06:24 CEST 2001 math@mars.virtual-earth.de:/usr/obj/usr/src/sys/MARS
i386

courier is 1.3.10 vpopmail is 4.9.10, vchkpw is patched to not do any setuid/setgid if uid== 0 (for qmail-smtp-auth) qmail is 1.03, patched with qmail-smtp-auth 0.30

Repeat: everything works _fine_ at least the first time after starting courier. Maybe some more times if using tkrat. But if it has started the first imap with these funny uid's, it's gone for good, unless it's restarted.

Any ideas?? I would _love_ to get some help! Pointers to where to look where couriertcpd sets the uid of the child, too!

Cheers, Mathias

P.S.: setting setuid bit on imapd does not help :( I tried setting user to vpopmail and setuid bit. Worked for first incarnation, but bombed on subsequent ones :( :( :( :(