[horde] Migration issues - database

Carlos Cristóbal Sabroe Yde cris at uti.unrc.edu.ar
Mon Sep 19 16:32:02 UTC 2011


> >>>>> Hi, I've made a fresh install of Horde Groupware Webmail Edition 4. I
> >>>>> have
> >>>>> Horde GWE 1.2.9 running on another server. I'm using several IMAP
> >>>>> servers so
> >>>>> the users select the server to which they want to login.
> >>>>>
> >>>>> I tried to migrate the database part only (mysql) to the new install.
> >>>> Apparently everything goes well except for one thing I notice: on the
> >>>>> new
> >>>>> version every information is identified by the user without including
> >>>>> it's
> >>>>> domain (contacts, preferences, etc.). I need to teel horde to use the
> >>>>> full
> >>>>> user id (user at domain) in the db so I can recover the previous info.
> >>>>> Can
> >>>>> anybody tell me where to look to change this?
> >>>
> >>>> Depends on how you did
> >>>> this in your old Horde version, i.e. if user? login WITHOUT the
> >>>> domain part, you have to add it. Either through? the 'maildomain'
> >>>> setting in imp/config/backends.local.php or by
> >>>> using? a user name hook.
> >>>>
> >>>> Jan.
> >>>
> >>> Thanks Jan for your reply. It's true that users login without the
> >>> domain part. I've set up the corresponding 'maildomain' for each
> >>> server in imp/config/servers.php.
> >>> I'm not using a hook.
> >>>
> >>> I'm not at the new server right now, but I'm pretty sure I've set the
> >>> "maildomain" setting in the new version as well.
> >>>
> >>> Cris
> >>
> >> I've just check my new setup and as I said, I've set the  
> >> 'maildomain' setting
> >> as well in imp/config/backends.local.php.
> >>
> >> $servers['xxx'] = array(
> >>    'disabled' => false,
> >>    'preferred' => '',
> >>    'name' => 'Descripcion',
> >>    'hostspec' => 'imap.uti.unrc.edu.ar',
> >>    'maildomain' => 'uti.unrc.edu.ar',
> >>    'realm' => 'uti.unrc.edu.ar',
> >>    'hordeauth' => 'full',
> >>    'protocol' => 'imap',
> >>    'port' => 143,
> >>    'secure' => 'tls',
> >>    'smtphost' => 'mail.uti.unrc.edu.ar.',
> >>    'smtpport' => 465,
> >> #    'debug' => '/tmp/imaplog',
> >>    'quota' => array(
> >>        'driver' => 'imap',
> >>        'params' => array(
> >>            'hide_when_unlimited' => true,
> >>            'unit' => 'MB'
> >>        )
> >>     ),
> >>    'acl' => false,
> >>    'cache' => true,
> >> );
> >>
> >>
> >> What else should I look?
> >
> > Nothing. This works perfectly. UNLESS this isn't the backend  
> > configuration that's actually being used. Did you disable the  
> > default backend?

Yes, I did

> 
> Nevermind, the maildomain setting is just for creating default From:  
> addresses. You need to set up a user name hook. See  
> horde/config/hooks.php.dist.
> 
> Jan.
>

Ok, so the behaviour has changed from previous releases.
I'll adapt the example hook. How do I get the domain value to use it there?

Thanks Jan



-- 

.Cris.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UTI-logo.png
Type: image/png
Size: 5868 bytes
Desc: not available
URL: <http://lists.horde.org/archives/horde/attachments/20110919/9e350745/attachment.png>


More information about the horde mailing list