Re: Multiple E-mail Addresses

Michael J Rubinsky <[email protected]> Sun, 12 Mar 2017 22:47:48 +0000
Newsgroups gmane.comp.horde.turba
Message-ID <20170312224748.Horde.HbWYw1RY7qxfJBq4l34rddl@h4.theupstairsroom.com>
This is a cryptographically signed message in MIME format.

--===============5529883607865406328==
Content-Type: multipart/signed; boundary="=_12z10r3w_xYTThC-1q5lsPW";
 protocol="application/pkcs7-signature"; micalg=sha-1

This is a cryptographically signed message in MIME format.

--=_12z10r3w_xYTThC-1q5lsPW
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
MIME-Version: 1.0
Content-Disposition: inline


Quoting Ian Turner <[email protected]>:

> Hi folks,
>
> I'm writing to enquire about the current state of multiple e-mail
> addresses per contact. Currently (as of 5.2.16) it seems that by default
> we still just get the one 'email' attribute. This must be affecting a
> lot of people because if you type 'turba multiple' into Google, it will
> suggest "turba multiple email addresses".

This answer depends on how you want them configured. If you want a  
single field capable of handling multiple addresses, you need to add  
the 'emails' attribute to the localsql configuration, and add the  
object_emails (or whatever you want to call it) row to the  
turba_objects table. Be warned, however, that this type of field will  
cause problems with protocols like ActiveSync.

If you want multiple fields each containing a single email address,  
see my comment below.

> The FAQ <https://wiki.horde.org/faq/user/turba> suggests just creating
> multiple contact entries and grouping them into a list. I can't imagine
> that would work well with DAV or ActiveSync, nor with VCF import/export
> for that matter. Is this still the preferred approach?
>
> I noticed by browsing around that the kolab backend supports a
> multiple-valued 'emails' attribute. Is there a reason this is not
> supported by the localsql backend? Or if the kolab backend (really IMAP
> it seems) is the preferred way to fix this, can someone give me a hint
> on how to set that up with Dovecot IMAP? I gave it a shot but quickly
> ran into bug 12449 <https://bugs.horde.org/ticket/12449>.
>
> I also noticed while browsing around this HOWTO
> <https://wiki.horde.org/TurbaExtraFields> on enabling extra fields in
> the localsql backend. Is this the preferred approach to mulitple e-mail
> addresses? And, if so, why is it not enabled by default?

This is if you want multiple email addresses in separate fields. For  
example, if you are using ActiveSync, that protocol does not support  
more than one email address per-field, so the 'emails' attribute would  
not work. The provided backends.php file is designed to be a simple,  
example, default configuration that can be tweaked. The page you  
mention is specifically to match the mapping of ActiveSync email  
fields and, in fact, are actually already present in backends.php, but  
commented out.

>
> Thanks in advance for your thoughts and advice.
>
> Regards,
>
> Ian Turner
> --
> turba mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: [email protected]



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

--=_12z10r3w_xYTThC-1q5lsPW
Content-Type: application/pkcs7-signature; name=smime.p7s
Content-Description: S/MIME Signature
Content-Disposition: attachment; filename=smime.p7s
Content-Transfer-Encoding: base64

MIIMzgYJKoZIhvcNAQcCoIIMvzCCDLsCAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0BBwGg
ggn2MIIE9zCCA9+gAwIBAgIQK46fVBh0jdmXIk2MwSsKZjANBgkqhkiG9w0BAQsFADB1MQswCQYD
VQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjEpMCcGA1UECxMgU3RhcnRDb20gQ2VydGlm
aWNhdGlvbiBBdXRob3JpdHkxIzAhBgNVBAMTGlN0YXJ0Q29tIENsYXNzIDEgQ2xpZW50IENBMB4X
DTE2MDkwOTE4MTAxMFoXDTE3MDkwOTE4MTAxMFowQDEbMBkGA1UEAwwSbXJ1Ymluc2tAaG9yZGUu
b3JnMSEwHwYJKoZIhvcNAQkBFhJtcnViaW5za0Bob3JkZS5vcmcwggEiMA0GCSqGSIb3DQEBAQUA
A4IBDwAwggEKAoIBAQCnMMN6rJECDaGDgZyV/ESR1C7ubLy3gw598sL3x2Gsfi7mCh18Ptzk+kC9
6O2s4GPqaPMiaUalDIEBegVUt5mvDfdmwvBk+zqk6ZLKgV5Bb+BN5HQDvEYyLN+KTFge985rhiE7
7lyGuOkd806VhTdK1tem6Ifk5d0YlHid6DYk6cBRyVStAza7ILKU24F4kRTznQDOkMI+oJ9Cv+c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LH63FrWiljDoNHTP43fs68qg/1hS+jruP2DB5BgkqhkiG9w0BCQ8xbDBqMAsGCWCG
SAFlAwQBKjALBglghkgBZQMEARYwCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMC
AgIAgDANBggqhkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDANBgkqhkiG9w0BAQEF
AASCAQCIzTHuP2IcLo09kLVJdGx/8jW5tvCOUTKxlTuZvZJl3o0c079Q6Omi9iNLcfy5TZigOm6B
bo/J8Ya5npMzBh9+eL4yC6sTlxy5HGHOYqTmt1FMjCOliSf//suQwzn55BfSi3f0+DPJNu4vrDoa
oFYOQM3uiES55grH6gY6yRoKKivDw+6y9T3XAUVlq0/n0P5cTdZbn2Mj6O++51qUsB7t8SdwwZUC
0jK8xjfHESGeNHM/EaHf0LonslgHGNJSu9k3ijEk5D1qV0OUiRbZm5zZ8gZ5/6bk8wkEkDYyWgU6
KFzmJvhcmjy/fL+eiVYC+iRPFqft486yMC3n1QlCbyMv
--=_12z10r3w_xYTThC-1q5lsPW--


--===============5529883607865406328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
turba mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
--===============5529883607865406328==--