On Fri, Jun 22, 2001 at 08:30:43AM -0400, Damian Ramirez wrote:
> Hello all
>
> I running the following php script for connecting to my pop3 server runnig
> qpopper v3.1.2 and display the number of messages stored in my mailbox :
>
> <?php
> $mbox = imap_open ("{correo.highway.com.py:110/pop3}", "damian",
> "secret66");
> $d = imap_num_msg ($mbox);
> echo "$d";
> ?>
>
> And work fine.
Not being terribly familiar with php, I assume that "imap_open" really
has some facility for connecting to POP ports as well?
My guess is that whatever is in that imap_open routine is broken.
Maybe it is looking for some specific string in the banner.
> But running the same php script to my pop3 server with qpopper v4.0.3 , its
> not work and the log of qpopper says the following:
>
> Jun 22 08:19:22 hwns1 popper[88890]: (null) at 208.209.45.1
> (208.209.45.1): -ERR POP EOF or I/O Error
The "(null)" in place of the username means it never got a login, and
"-ERR POP EOF or I/O Error" means the remote side disconnected without
sending a "quit" command.
> Jun 22 08:19:22 hwns1 popper[88890]: (null) at 208.209.45.1
> (208.209.45.1): -ERR POP EOF or I/O Error
...
> My pop3 server with qpopper v4.0.3 work fine for mail clients programs.
> I install qpopper v4.0.3 with the following options:
>
> su-2.03#
> ./configure --disable-check-pw-max --enable-log-login --enable-server-mode -
> -
> enable-shy --enable-timing --enable-chunky-writes=2
Try configuring it and making it again without the "shy" option; maybe
that PHP routine is expecting to see the string "pop" in the banner,
though it shouldn't.
-- Clifton
--
Clifton Royston -- LavaNet Systems Architect -- [EMAIL PROTECTED]
WWJD? "JWRTFM!" - Scott Dorsey (kludge) "JWG" - Eddie Aikau