On Tue, Jan 20, 2004 at 08:30:27PM +0100, Andreas Aardal Hanssen wrote:

> 1) Binc IMAP on your host prints this:
> 
> 1 login [EMAIL PROTECTED] blahness
> 1 OK LOGIN completed
> 1 OK LOGIN completed
> 
> That is - two LOGIN responses. Binc IMAP only prints one :-).
> Deliberately, anyway. But when I log out,

And that was the problem!

Thank you very much!

If you're itching to know... the problem was that i misread the
system(3) man page, and for some reason thought that it replaced
the current process's image, like execvp does. So, i was forking
before running system, which was causing all the code after i'd
updated the pop-before-smtp database to be running as two different
processes, leading to two bincimapd's interacting on the same set of
file descriptors.

Regarding my code, if you'd still like i could send you a copy. Once i
get things working (which they appear to be now!) i'm intending to go
back and apply polish (possibly completely rewrite), and then document
(howto style) my whole jails setup and release these bits of code as
open source.

Thanks again!
sRp

-- 
Scott Parish
http://srparish.net/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to