[imp] Redirection loop when using $conf[server][change_server]
Fredrik Poller
fredrik.poller at binero.se
Thu Jun 26 07:48:40 UTC 2008
Hi all,
I have a problem with IMP getting stuck in a redirection loop when loading
the login page when I use $conf[server][change_server]. Using
$conf[server][server_list] = 'none' without setting
$conf[server][change_server] works fine (except that I can't change server
:)).
Apaches access log contains this:
217.78.41.153 - - [26/Jun/2008:09:18:57 +0200] "GET
/imp/redirect.php?actionID=login&autologin=1&server_key=imap HTTP/1.1" 302
38 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; sv-SE; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
217.78.41.153 - - [26/Jun/2008:09:18:57 +0200] "GET
/imp/redirect.php?actionID=login&autologin=1&server_key=imap HTTP/1.1" 302
38 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; sv-SE; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14"
... until firefox decides we're stuck in a loop
Hordes log file doesn't tell me anything.
Here's Hordes config directives related to sessions, cookies and auth: (if
more is needed, let me know)
$conf['use_ssl'] = 0;
$conf['session']['name'] = 'Horde';
$conf['session']['use_only_cookies'] = true;
$conf['session']['cache_limiter'] = 'nocache';
$conf['session']['timeout'] = 0;
$conf['cookie']['domain'] = 'horde.binero.net';
$conf['cookie']['path'] = '/';
$conf['auth']['admins'] = array('fredrik.poller at binero.se');
$conf['auth']['checkip'] = true;
$conf['auth']['checkbrowser'] = true;
$conf['auth']['alternate_login'] = false;
$conf['auth']['redirect_on_logout'] = false;
$conf['auth']['params']['app'] = 'imp';
$conf['auth']['driver'] = 'application';
Here's IMPs config directives:
$conf['server']['change_server'] = true;
$conf['server']['change_port'] = false;
$conf['server']['change_protocol'] = false;
$conf['server']['change_smtphost'] = false;
$conf['server']['change_smtpport'] = false;
$conf['server']['server_list'] = 'none';
$conf['server']['fixed_folders'] = array();
$conf['server']['sort_limit'] = 0;
$conf['server']['cache_folders'] = true;
$conf['server']['token_lifetime'] = 1800;
$conf['server']['cachejs'] = 'none';
$conf['server']['cachecss'] = 'none';
Servers.php contains this:
$servers['binero'] = array(
'name' => 'Binero',
'server' => 'mail.binero.se',
'hordeauth' => false,
'protocol' => 'imap/notls',
'port' => 143,
'smtphost' => 'localhost',
'smtpport' => 25,
'realm' => '',
'preferred' => '',
);
Versions I'm running:
FreeBSD 7.0
Horde 3.2.1
IMP H3 4.2
Apache 1.3.39
PHP 5.2.5
Thanks for your help!
Best regards,
Fredrik Poller
fredrik.poller at binero.se
More information about the imp
mailing list