====== CardDAV - Address Book ======
===== Installation =====
* Install //CardDAV Server// from Package Center
* Open or port forward port 8443 to your DSM
* I recommend you to enable HTTPS in the application and redirect HTTP to HTTPS.
===== Client configuration =====
==== Thunderbird on Desktop computers (Windows, Mac, Linux) ====
- Install //CategoryManager// app in Thunderbird --> Add-ons
- Download [[https://sogo.nu/download.html#/frontends|SOGo Connector]] and manual install from file. Make sure to pick the correct version for Thunderbird.
- If the SOGo Connector cannot be installed as an app, download the [[https://sogo.nu/download.html#/frontends|SOGo Connector]] with a right-click on the button, then install it from file in Thunderbird.
- Open Address Book, then click **File --> New -->Remote Address Book**. Right click on the new address book, disable periodic sync, and enter the following URL to connect, replace "user" with your user name.:
* Synology DSM: https://your.domain.tld:8443/addressbooks/users/user/addressbook/
* ownCloud server: https://your.domain.tld/remote.php/dav/addressbooks/users/user/default/
- If you have an existing remote address book, change the URL to sync existing contacts. Right click the remote address book and select //Synchronize//. If you don't, you must initiate the first sync from your mobile device.
- Thunderbird will ask for the access credentials to your DAV server, enter them, and select //save to Password Manager//. This way, you will not need to enter the credentials repeatedly for Address Book and Calendar sync.
- After the first manual sync, change the settings of the Address Book to //Periodic sync//.
- [[https://github.com/jobisoft/DAV-4-TbSync/issues/59#issuecomment-459685281]]
==== Contacts on iOS 10 ====
- Before you modify anything on your mobile device, you should make a backup of your contacts in case they get deleted in the process. Install app //Groups// from Qbix and save all Contacts to a single .vcf file. Email the file to yourself, so will have it available on the device should you need it later.
- Go to //Settings --> Contacts --> Accounts//. If your inital sync should copy contacts from the server, then disable any existing contact account setups and let the device delete all contacts, then create a new contact server setup. If your initial sync should copy contacts from the device, then you must modify the existing contact server setup.
- Settings for the server setup are as follows:Server your.domain.tld
Username user
Password *****
Description your server name
Use SSL
Port 8443
Account URL (filled in automatically)
===== Links =====
* [[https://forum.synology.com/enu/viewtopic.php?t=103461|How to setup CardDAV on iOS]]
* [[https://docs.iredmail.org/thunderbird.sogo.html|SOGo Address Book and Calendar synchronization with CardDAV and CalDAV]]
* [[https://www.copytrans.net/support/how-to-manage-your-contacts-sourced-from-the-synology-network-attached-storage-nas/#set-up-iphone|How to manage your contacts sourced from the Synology network attached storage (NAS)]]
* [[https://www.youtube.com/watch?v=Hrppee4Gcp4|CardDav Synology Thunderbird]]
* [[https://www.synology.com/en-us/knowledgebase/DSM/tutorial/General/What_network_ports_are_used_by_Synology_services|Ports for Synology DSM]]
* [[https://www.youtube.com/watch?v=Hrppee4Gcp4|CardDav Synology Thunderbird]]