Re: [Kolab-devel] Changing the primary email address via webadmin - and its implications

"Daniel Hoffend" <[email protected]>
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <emabbbd3bc-fd4a-4b6e-9ccc-7d2c17033399@dotpc>
Here's the proof that it actually works as expected.

[root@kolab-centos6 ~]# kolab lm
user/[email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
user/lucy.white/Calendar/Personal [email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
user/lucy.white/Contacts/Personal [email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
user/lucy.white/[email protected]
[root@kolab-centos6 ~]# ldapmodify -x -h localhost -p 389 -D 
"cn=Directory Manager" -w test << EOF
 > dn: uid=white,ou=People,dc=example,dc=org
 > changetype: modify
 > replace: mail
 > mail: [email protected]
 > -
 > replace: sn
 > sn: Black
 > EOF
modifying entry "uid=white,ou=People,dc=example,dc=org"

[root@kolab-centos6 ~]# # wait some seconds
[root@kolab-centos6 ~]# kolab lm
user/[email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
user/lucy.black/Calendar/Personal [email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
user/lucy.black/Contacts/Personal [email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
user/lucy.black/[email protected]
Now we need to find the cases where this fails

--
Daniel


------ Originalnachricht ------
Von: "Daniel Hoffend" <[email protected]>
An: "Kolab development coordination" <[email protected]>; 
"[email protected]" <[email protected]>
Gesendet: 06.03.2015 12:27:32
Betreff: Re: [Kolab-devel] Changing the primary email address via 
webadmin - and its implications

>>Hello Thomas
>I just tried to reproduce your bug. I'm also using a centos6 VM with 
>kolab:devel packages. I've tried to reproduce the renaming error but 
>couldn't force it. In my test scenario (same like yours) the whole 
>mailbox got renamed as expected.
>
>to get a more complete debug log of what kolabd is doing i've restarted 
>it with debug options (-d9)
>
># /etc/sysconfig/kolabd
>FLAGS="--fork -l warning -d 9"
>
>+ service kolabd restart
>
>>3. Lucy just got married and now goes by "Lucy White". Change her 
>>Surname in Webadmin to "White". This assigns a new primary email 
>>address [email protected]. The secondary email address now shows 
>>"[email protected]@example.org" in the webadmin interface. Huh?
>The that's okay, the generate function will add the additional emails 
>the list and don't touch other generated or manually added secondary 
>mail addresses
>
>>kolabd seems to detect the change and attempts to rename the mailbox 
>>accordingly. This is from the debug log:
>Yepp, that's also correct
>
>>pykolab.imap INFO Renaming INBOX from user/[email protected] to 
>>user/[email protected]
>>pykolab.imap ERROR Could not rename INBOX folder 
>>user/[email protected] to user/[email protected]
>That's the part where we would need additional debug output. Maybe can 
>you restart the kolabd with debug log level? Did you hit any permission 
>problems? MAybe selinux got reactived somehow and wouldn't let you 
>rename it or whatever? Can you find any other hints why cyrus can't 
>rename the mailbox? Maybe set "debug: 1" in /etc/imapd.conf and restart 
>cyrus and retry again.
>
>
>--
>Best Regards
>Daniel Hoffend
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.