[imp] Urgent help with IMP (via Postfix)
menon@wired2net.com
impuser@wired2net.com
Mon Oct 14 19:16:20 2002
Hi:
I have sent the following problem to some specific members in this list ... so I apologize if you are receiving it again.
I am running Horde 2.1 and IMP 3.1 and PHP 4.2.3
I struggled for hours this weekend to get all the packages to install correctly. I had promised my client that it would be ready this weekend :-(
The Postfix server is the same machine where IMP is installed.
I have installed all the necessary modules and the test.php file says that everything is fine.
However, it will not log me in. I have tried both POP3 and IMAP.
I can retrieve my mail using POP3/Outlook Express while on the road so the Postfix setup is fine.
The server is behind a firewall so I have opened up ports 25, 110 and 143
I get the login window but when I enter my username and password ... it just sits there grinding for a long time and nothing happens.
Interesting enough, horde does not log any errors. In fact, the log file is 0 bytes since I started working on this.
Here is my servers.php
---------------- imp/config/servers.php -----
$servers['imap'] = array(
'name' => 'IMAP Server',
'server' => 'mail.myserver.com',
'protocol' => 'imap/notls',
'port' => 143,
'folders' => 'mail/',
'namespace' => '',
'maildomain' => 'myserver.com',
'smtphost' => 'mail.myserver.com',
'realm' => 'myserver.com',
'preferred' => ''
);
--------------------------
One Bizarre Twist ... please read on ...
If I change the mail.myserver.com in the 'server' line above ... to the internal IP address of the server (192.168.0.x) ... I am able to log in ... and it shows my INBOX and the number of messages. When I click on the INBOX ... it says PAGE not found.
Now, if I click on the COMPOSE link on that screen ... it will allow me to compose and send messages (which I confirmed is being received at the other end).
I thought that this line is supposed to be mail.myserver.com ... so why is that failing ? Also, once it lets me in ... why does it not allow me to view the INBOX contents ?
Also, who should be the owner of horde and imp folders ? Is it apache ?
I need to get some help urgently, cause some of the guys on the road do not have laptops so will need to use IMP to read and send mail. This is urgent.
Thanks !!!
Max
------------------ Other Files of Interest -------------------
/*
* Horde Configuration File
*
$conf['debug_level'] = E_ALL;
$conf['max_exec_time'] = 60;
$conf['session_name'] = 'Horde';
$conf['use_ssl'] = 2;
$conf['compress_pages'] = true;
$conf['umask'] = 077;
$conf['tmpdir'] = null;
$conf['auth']['driver'] = '';
$conf['auth']['params'] = array();
//$conf['auth']['params']['dsn'] = '{mail.myserver.com:143/imap}INBOX';
$conf['log']['enabled'] = true;
$conf['log']['type'] = 'file';
$conf['log']['name'] = '/var/log/horde.log';
$conf['log']['priority'] = LOG_DEBUG;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['prefs']['driver'] = 'none';
$conf['prefs']['params'] = array();
$conf['cache']['driver'] = 'none';
$conf['cache']['params'] = array();
$conf['mailer']['type'] = 'sendmail';
$conf['mailer']['params'] = array('sendmail_path' => '/usr/lib/postfix/sendmail');
$conf['mailer']['params'] = array('server' => 'mail.myserver.com');
$conf['problems']['enabled'] = true;
$conf['problems']['email'] = 'postmaster@myserver.com';
$conf['user']['online_help'] = true;
$conf['css']['cached'] = true;
$conf['menu']['images'] = true;
$conf['menu']['floating_bar'] = false;
------------------------------ horde/config/registry.php ------------------
$this->registry['auth']['login'] = 'imp';
$this->registry['auth']['logout'] = 'imp';
$this->registry['mail']['compose'] = 'imp';
$this->registry['mail']['composePopup'] = 'imp';
-------------------------------- /etc/hosts --------------------------------
127.0.0.1 localhost.localdomain localhost
192.168.0.80 mail.myserver.com