[imp] No folders under IMP 3.0

Brian Helman bhelman@salemstate.edu
Fri, 25 Jan 2002 10:08:49 -0500


At Maciek's suggestion I decided this wasn't such a bad idea and ran strace 
against my httpd.  A couple lines stand out to me.  I have cut and pasted 
them sequentially.  But they are not necessarily consecutive in the actual 
log.

Just to remind everyone of the issue, I am not seeing my folders (personal 
or shared) no matter how I configure IMP.  This trace was taken using the 
following values in the servers.php file:

$servers['cyrus'] = array(
     'name' => 'Cyrus IMAP Server',
     'server' => 'clipper.salemstate.edu',
     'protocol' => 'imap',
     'port' => 143,
     'folders' => '',
     'namespace' => 'INBOX.',
     'maildomain' => 'salemstate.edu',
     'realm' => 'salemstate.edu',
     'preferred' => 'lighthouse.salemstate.edu'
);

Here are some excerpts from the trace.
FYI: lighthouse (134.241.19.6) is the IMP server.  Hoagie (134.241.251.163) 
is my workstation.  Clipper (19.2) is the e-mail server and 19.1 is the router.

(this first line appears very frequently)
ioctl(5, 0x5401, 0xbfffe020)            = -1 ENOTTY (Inappropriate ioctl 
for device)

(the next 3 lines also show up a few times)
connect(8, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 
ENOENT (No such file or directory)

open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or 
directory)
open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or 
directory)

(these lines show that I actually logged in -- username/password changed 
for security purposes)
write(8, "00000001 LOGIN testuser wouldntyouliketoknow\r\n", 28) = 28
time(NULL)                              = 1011908935
time(NULL)                              = 1011908935
select(9, [8], NULL, [8], NULL)         = 1 (in [8])
time(NULL)                              = 1011908935
read(8, "00000001 OK User logged in\r\n", 8192) = 28

(nothing stands out until the last 10-15 lines)
select(9, NULL, [8], [8], NULL)         = 1 (out [8])
time(NULL)                              = 1011908935
write(8, "00000005 LIST \"\" #public/*\r\n", 28) = 28
time(NULL)                              = 1011908935
time(NULL)                              = 1011908935
select(9, [8], NULL, [8], NULL)         = 1 (in [8])
time(NULL)                              = 1011908935
read(8, "00000005 OK Completed\r\n", 8192) = 23
alarm(0)                                = 0
alarm(0)                                = 0
time(NULL)                              = 1011908935
time(NULL)                              = 1011908935
select(9, NULL, [8], [8], NULL)         = 1 (out [8])
time(NULL)                              = 1011908935
write(8, "00000006 LIST \"\" \"\"\r\n", 21) = 21
time(NULL)                              = 1011908935
time(NULL)                              = 1011908935
select(9, [8], NULL, [8], NULL)         = 1 (in [8])
time(NULL)                              = 1011908935
read(8, "* LIST (\\NoSelect) \".\" \"\"\r\n", 8192) = 27
alarm(0)                                = 0

The whole trace can be view at http://hoagie.salemstate.edu/imp/gotcha.txt 
.  I changed the username and password within the trace.  If you want to go 
right to where the login occurs, search for "testuser" .

thanks,
brian

At 09:44 PM 1/24/02 +0100, you wrote:
> > -----Original Message-----
> > From: Jan Schneider [mailto:jan@horde.org]
> > Sent: Thursday, January 24, 2002 9:21 PM
> > To: imp@lists.horde.org
> > Subject: Re: [imp] No folders under IMP 3.0
> >
> >
> > Zitat von Brian Helman <bhelman@salemstate.edu>:
> >
> >  Is
> > > there another log that might show what IMP is trying to do after the
> > > login?
> >
> > The webserver logs.
>
>Or, for really brave people :-) : start webserver in single user mode
>(httpd -X for apache). Attach strace (truss) to the webserver process. Run
>what makes you trouble in the browser. Examine strace (truss) output. You'll
>know everything.
>
>Maciek
>
>
>--
>IMP mailing list: http://horde.org/imp/
>Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: imp-unsubscribe@lists.horde.org