[imp] Unable to get imp working with IMAP

digiteltlc federico at digiteltlc.com
Mon Jul 31 05:15:22 PDT 2006


Hi All
I've solved my previous problem replacing current IMAP server with UW-IMAPD
.

Now my problem is I'm not able to get IMP working :
I first launch http://myserver/horde/imp/test.php and do a IMAP test
It seems all ok as it answers back :

The following configurations were successful and may be used in your
imp/config/servers.php file: 
Configuration 1
'server' => 'localhost'
'protocol' => 'imap'
'port' => '143'
Configuration 2
'server' => 'localhost'
'protocol' => 'imap/notls'
'port' => '143'

I choose second one in servers.php

Now I do a login and after few seconds, trying to load
http://myserver/horde/imp/redirect.php html error comes :
The page cannot be displayed.

I look at various logs :

/var/log/mail.log :
Jul 31 13:49:16 server imapd[4548]: imap service init from 127.0.0.1
Jul 31 13:49:16 server imapd[4548]: Authenticated user=fzanini
host=localhost.localdomain [127.0.0.1]
Jul 31 13:49:17 server imapd[4550]: imap service init from 127.0.0.1
Jul 31 13:49:17 server imapd[4550]: Login user=fzanini
host=localhost.localdomain [127.0.0.1]
Jul 31 13:49:17 server imapd[4550]: Logout user=fzanini
host=localhost.localdomain [127.0.0.1]
Jul 31 13:49:18 server imapd[4548]: Command stream end of file, while
reading line user=fzanini host=localhost.localdomain [127.0.0.1]

/var/log/apache2/error.log :
Allowed memory size of 8388608 bytes exhausted (tried to allocate 12 bytes)

These 8388608 bytes remind me a severe warning in
http://myserver/horde/test.php :

Miscellaneous PHP settings 
memory_limit disabled: No
If PHP's internal memory limit is turned on and if not set high enough Horde
will not be able to handle large data items (e.g. large mail attachments in
IMP). If possible, you should disable the PHP memory limit by recompiling
PHP without the "--enable-memory-limit" flag. If this is not possible, then
you should set the value of memory_limit in php.ini to a sufficiently high
value (Current value of memory_limit: 8M). 

So i've tried to increase this limit (i.e. 25Mb) in php.ini with this result
after an "apache2 restart" :

Trying to login as usual,when click "Login" web page hangs, no more signs of
life !!
I look at /var/log/syslog saying to me :
Jul 31 13:55:07 server imapd[4595]: connect from 127.0.0.1 (127.0.0.1)
Jul 31 13:55:08 server imapd[4595]: imap service init from 127.0.0.1
Jul 31 13:55:08 server imapd[4595]: Authenticated user=fzanini
host=localhost.localdomain [127.0.0.1]
Jul 31 13:55:08 server imapd[4597]: connect from 127.0.0.1 (127.0.0.1)
Jul 31 13:55:08 server imapd[4597]: imap service init from 127.0.0.1
Jul 31 13:55:08 server imapd[4597]: Login user=fzanini
host=localhost.localdomain [127.0.0.1]
Jul 31 13:55:08 server imapd[4597]: Logout user=fzanini
host=localhost.localdomain [127.0.0.1]

No yet errors from /var/log/apache2/error.log

Launching "top" shell command it says to me that command "apache2" from use
www-data is using 99% of cpu resource and 5% of memory and I can do no other
than kill process.

All login procedure using POP3 server instead IMAP  WORKS 100%  !!!!!

Any ideas on what to check/do ????

A particular comment :
My perseverance in using IMAP is to have mail folders (expecially sent-mail)
visible on imp webpages , as I've read several times POP3 is a "no folder
capable" protocol.
Any way , i remember VERY CLEARLY several years ago I was using old version
of IMP (i don't remember rev.) and  I WAS ABLE TO DISPLAY SENT-MAIL FOLDER
USING POP3 PROTOCOL !!!!!
Any idea if this is possible also with later version of imp ?????

Thank you for patience.
Federico



-- 
View this message in context: http://www.nabble.com/Unable-to-get-imp-working-with-IMAP-tf2027155.html#a5574664
Sent from the Horde - IMP forum at Nabble.com.



More information about the imp mailing list