Re: [imp] Autoexpand not working for additinal field of LDAP
Dear List, I modified prefs.local.php to $_prefs['search_sources']['locked'] = true; $_prefs['search_sources']['hook'] = true; $_prefs['search_fields']['value'] = ''; $_prefs['search_fields']['locked'] = true; $_prefs['search_fields']['hook'] = true; $_prefs['add_source']['locked'] = true; $_prefs['add_source']['hook'] = true; as per discussion in mailing list. Still, I find the same problem. Autoexapansion works with Name and Email, but not for staffnumber which is also one of the attributes in LDAP. Regards, ANANT. - Message from a...@isac.gov.in - Date: Mon, 31 Oct 2011 18:35:03 +0530 From: ANANT S ATHAVALE a...@isac.gov.in Subject: [imp] Autoexpand not working for additinal field of LDAP To: ho...@lists.horde.org Cc: imp@lists.horde.org Dear List, I am testing Horde Groupware Webmail Edition 4.0.3. imp/config/prefs.local.php $_prefs['search_sources']['value'] = json_encode(array('localsql', 'localldap','favourites')); $_prefs['search_sources']['locked'] = true; $_prefs['search_fields']['locked'] = true; $_prefs['add_source']['value'] = 'localsql'; $_prefs['add_source']['locked'] = true; $_prefs['search_fields']['value'] = json_encode(array( 'localsql' = array('name','email'), 'localldap' = array('name','email','staffnumber'), 'favourites' = array('name','email') )); and turba/config/backends.local.php $cfgSources['localldap'] = array( // Disabled by default 'disabled' = false, 'title' = _(LDAP Directory), 'type' = 'ldap', 'params' = array( 'server' = 'localhost', 'port' = 389, 'tls' = false, 'root' = 'dc=xxx,dc=', 'bind_dn' = 'cn=Manager,dc=xxx', 'bind_password' = 'x', 'sizelimit' = 10, 'dn' = array('cn'), 'objectclass' = array('employee'), 'scope' = 'sub', 'charset' = 'utf-8', 'checkrequired' = false, 'checkrequired_string' = ' ', 'checksyntax' = false, 'version' = 3, ), 'map' = array( '__key' = 'dn', '__uid' = 'uid', 'name' = 'cn', 'email' = 'mail', 'staffnumber' = 'staffnumber', ), 'search' = array( 'name', 'email', 'staffnumber', ), 'strict' = array( 'dn', ), 'approximate' = array( 'cn', ), 'export' = false, 'browse' = false, ); NOTE: I am able to search based on staffnumber in Turba and also in IMP (if I click on Address book). But, autoexpand does not work with staffnumber. This was working and working in older HGWE. Regards, Anant Athavale. -- Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -- -- IMP mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscr...@lists.horde.org - End message from a...@isac.gov.in - Regards, Anant Athavale. -- Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. -- -- IMP mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
Re: [imp] Autoexpand not working for additinal field of LDAP
To further add to this, I added var_dump($fields) in lib/IMP.php and got the following output during compose. array(3) { [aNSXRVC-ZUxOnQYUwauXA5A]= array(50) { [0]= string(9) firstname [1]= string(8) lastname [2]= string(11) middlenames [3]= string(10) namePrefix [4]= string(10) nameSuffix [5]= string(4) name [6]= string(5) alias [7]= string(8) birthday [8]= string(11) anniversary [9]= string(6) spouse [10]= string(5) photo [11]= string(9) phototype [12]= string(10) homeStreet [13]= string(9) homePOBox [14]= string(8) homeCity [15]= string(12) homeProvince [16]= string(14) homePostalCode [17]= string(11) homeCountry [18]= string(11) homeAddress [19]= string(10) workStreet [20]= string(9) workPOBox [21]= string(8) workCity [22]= string(12) workProvince [23]= string(14) workPostalCode [24]= string(11) workCountry [25]= string(11) workAddress [26]= string(10) department [27]= string(8) timezone [28]= string(5) email [29]= string(9) homePhone [30]= string(7) homeFax [31]= string(9) workPhone [32]= string(9) cellPhone [33]= string(11) assistPhone [34]= string(3) fax [35]= string(5) pager [36]= string(5) title [37]= string(4) role [38]= string(7) company [39]= string(4) logo [40]= string(8) logotype [41]= string(8) category [42]= string(5) notes [43]= string(7) website [44]= string(11) freebusyUrl [45]= string(12) pgpPublicKey [46]= string(14) smimePublicKey [47]= string(9) imaddress [48]= string(10) imaddress2 [49]= string(10) imaddress3 } [localldap]= array(3) { [0]= string(4) name [1]= string(5) email [2]= string(11) staffnumber } [favourites]= array(2) { [0]= string(4) name [1]= string(5) email } } Here it clearly shows, it is also using staffnumber attribute. But, it still does not expand to email id. - Message from a...@isac.gov.in - Date: Tue, 01 Nov 2011 13:24:18 +0530 From: ANANT S ATHAVALE a...@isac.gov.in Subject: Re: [imp] Autoexpand not working for additinal field of LDAP To: imp@lists.horde.org Dear List, I modified prefs.local.php to $_prefs['search_sources']['locked'] = true; $_prefs['search_sources']['hook'] = true; $_prefs['search_fields']['value'] = ''; $_prefs['search_fields']['locked'] = true; $_prefs['search_fields']['hook'] = true; $_prefs['add_source']['locked'] = true; $_prefs['add_source']['hook'] = true; as per discussion in mailing list. Still, I find the same problem. Autoexapansion works with Name and Email, but not for staffnumber which is also one of the attributes in LDAP. Regards, ANANT. - Message from a...@isac.gov.in - Date: Mon, 31 Oct 2011 18:35:03 +0530 From: ANANT S ATHAVALE a...@isac.gov.in Subject: [imp] Autoexpand not working for additinal field of LDAP To: ho...@lists.horde.org Cc: imp@lists.horde.org Dear List, I am testing Horde Groupware Webmail Edition 4.0.3. imp/config/prefs.local.php $_prefs['search_sources']['value'] = json_encode(array('localsql', 'localldap','favourites')); $_prefs['search_sources']['locked'] = true; $_prefs['search_fields']['locked'] = true; $_prefs['add_source']['value'] = 'localsql'; $_prefs['add_source']['locked'] = true; $_prefs['search_fields']['value'] = json_encode(array( 'localsql' = array('name','email'), 'localldap' = array('name','email','staffnumber'), 'favourites' = array('name','email') )); and turba/config/backends.local.php $cfgSources['localldap'] = array( // Disabled by default 'disabled' = false, 'title' = _(LDAP Directory), 'type' = 'ldap', 'params' = array( 'server' = 'localhost', 'port' = 389, 'tls' = false, 'root' = 'dc=xxx,dc=', 'bind_dn' = 'cn=Manager,dc=xxx', 'bind_password' = 'x', 'sizelimit' = 10, 'dn' = array('cn'), 'objectclass' = array('employee'), 'scope' = 'sub', 'charset' = 'utf-8', 'checkrequired' = false, 'checkrequired_string' = ' ', 'checksyntax' = false, 'version' = 3, ), 'map' = array( '__key' = 'dn', '__uid' = 'uid', 'name' = 'cn', 'email' = 'mail', 'staffnumber' = 'staffnumber', ), 'search' = array( 'name', 'email', 'staffnumber', ), 'strict' = array( 'dn', ), 'approximate' = array( 'cn', ), 'export' = false, 'browse' = false, ); NOTE: I am able to search based on staffnumber in Turba and also in IMP (if I click on Address book). But, autoexpand does not work with staffnumber. This was working and working in older HGWE. Regards, Anant Athavale. -- Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the
[imp] Drafts save multiple
Hello ! If i open a Draft and save it, then I have 2 Drafts It create new draft instead of only save the draft. -- IMP mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
[imp] IMP, Dovecot and multiple namespaces
Hey guys, I'm wondering what the best way is to be backwards compatible with Courier mailbox formats and not duplicate mailbox trees with Dovecot. Is anyone doing this right now? My Dovecot 2.0.13 is configured as follows for Namespaces: namespace { inbox = yes location = prefix = separator = . } namespace { hidden = yes inbox = no list = no location = prefix = INBOX. separator = . } So I should have an INBOX, plus additional root folders - rather than the Courier default of all folders being subfolders of the INBOX. So when I run LIST in IMAP I get - 08 LIST % * LIST (\HasChildren) . INBOX * LIST (\HasChildren) . Spam * LIST (\HasNoChildren) . Sent * LIST (\HasNoChildren) . Trash * LIST (\HasNoChildren) . Junk * LIST (\HasNoChildren) . Drafts Which looks fine. The problem is, IMP (old and new) show two sets of mailboxes (one for each namespace) like so: INBOX Spam Spam.Over10 Sent INBOX.Spam INBOX.Spam.Over10 INBOX.Sent (etc) I assume IMP is walking the INBOX because it says it has Children, and displaying those Children. I would like IMP users to only see the non 'hidden' namespace, but I'm not sure how to accomplish that without completely turning it off. Any ideas? Rick -- IMP mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
Re: [imp] IMP, Dovecot and multiple namespaces
Quoting Rick Romero r...@havokmon.com: Hey guys, I'm wondering what the best way is to be backwards compatible with Courier mailbox formats and not duplicate mailbox trees with Dovecot. Is anyone doing this right now? My Dovecot 2.0.13 is configured as follows for Namespaces: namespace { inbox = yes location = prefix = separator = . } namespace { hidden = yes inbox = no list = no location = prefix = INBOX. separator = . } So I should have an INBOX, plus additional root folders - rather than the Courier default of all folders being subfolders of the INBOX. So when I run LIST in IMAP I get - 08 LIST % * LIST (\HasChildren) . INBOX * LIST (\HasChildren) . Spam * LIST (\HasNoChildren) . Sent * LIST (\HasNoChildren) . Trash * LIST (\HasNoChildren) . Junk * LIST (\HasNoChildren) . Drafts Which looks fine. The problem is, IMP (old and new) show two sets of mailboxes (one for each namespace) like so: INBOX Spam Spam.Over10 Sent INBOX.Spam INBOX.Spam.Over10 INBOX.Sent (etc) I assume IMP is walking the INBOX because it says it has Children, and displaying those Children. Then this is a bug (or a misconfiguration) in Dovecot. Dovecot is reporting INBOX has children - IMP is doing the proper thing by looking for the children. michael ___ Michael Slusarz [slus...@horde.org] -- IMP mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscr...@lists.horde.org
Re: [imp] Drafts save multiple
Quoting Makeri makeri-kuts...@t-online.de: Hello ! If i open a Draft and save it, then I have 2 Drafts It create new draft instead of only save the draft. This is the appropriate behavior currently due to users wanting to use drafts as message templates. Once true message templates are added, this functionality will be removed. michael ___ Michael Slusarz [slus...@horde.org] -- IMP mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: imp-unsubscr...@lists.horde.org