[horde] Can't connect to IMP

Maxime Pelletier maxime.pelletier at educsa.org
Thu Mar 7 16:58:59 UTC 2013


Hi all,

We are having a problem connecting to IMP and we can't figure out what's
wrong in our configuration.

When we type the URL http://www.myhorde.org we are redirected to
http://www.myhorde.org/horde/login.php?url=http%3A%2F%2Fwww.myhorde.org%2F&app=imp
. From that address, if we try to logon, we get the following error in
the server log:
         HORDE: User is not authorized for imp [pid 19906 on line 259 of
"/usr/share/pear/Horde/Registry.php"]

However, when we type the URL http://www.myhorde.org/horde we are
redirected to http://www.myhorde.org/horde/login.php. And from that
address, we can logon successfully.

So since we want to tell users to go to www.myhorde.org, it's a big
problem for us. Could you please help us to find what's wrong in our  
configuration?

Here are some config that might be useful to explain what's going on  
(other configs are mainly default values):
horde/config/conf.php:
        $conf['vhosts'] = true;
        $conf['auth']['params']['app'] = 'imp';
        $conf['auth']['driver'] = 'application';

horde/config/prefs-www.myhorde.org.php: (we use Horde only for email so we
want to display IMP directly)
        $_prefs['initial_application'] = array(
            'value' => 'imp',

horde/imp/config/backend.local.php (we have imapproxy on localhost on port
8143)
        $servers['imap']['port'] = 8143;
        $servers['imap']['secure'] = false;
        $servers['imap']['maildomain'] = 'myhorde.org';

Thanks in advance for you help!
Maxime

-------------- next part --------------
Hi all,

We are having a problem connecting to IMP and we can't figure out what's 
wrong in our configuration.

When we type the URL http://www.myhorde.org we are redirected to 
http://www.myhorde.org/horde/login.php?url=http%3A%2F%2Fwww.myhorde.org%2F&app=imp
. From that address, if we try to logon, we get the following address in 
the server log:
         HORDE: User is not authorized for imp [pid 19906 on line 259 of 
"/usr/share/pear/Horde/Registry.php"]

However, when we type the URL http://www.myhorde.org/horde we are 
redirected to http://www.myhorde.org/horde/login.php. And from that 
address, we can logon successfully.

So since we want to tell users to go to www.myhorde.org, it's a big 
problem for us.

Here are some config that might be usefull to explain what's going on:
horde/config/conf.php:
        $conf['vhosts'] = true;
        $conf['auth']['params']['app'] = 'imp';
        $conf['auth']['driver'] = 'application';

horde/config/prefs-www.myhorde.org.php: (we use Horde only for email so we 
want to display IMP directly)
        $_prefs['initial_application'] = array(
            'value' => 'imp',

horde/imp/config/backend.local.php (we have imapproxy on localhost on port 
8143)
        $servers['imap']['port'] = 8143;
        $servers['imap']['secure'] = false;
        $servers['imap']['maildomain'] = 'myhorde.org';

Thanks in advance for you help!
Maxime Pelletier
Analyste Intranet, Service des technologies de l'information
Commission scolaire des Affluents
(450) 492-9400 poste 3224


More information about the horde mailing list