81 lines
2.3 KiB
Plaintext
81 lines
2.3 KiB
Plaintext
|
|
# =============================================================
|
||
|
|
# vdirsyncer Konfiguration für mailbox.org (CalDAV)
|
||
|
|
# Pfad: ~/.config/vdirsyncer/config
|
||
|
|
#
|
||
|
|
# Ersetze MAILBOX_USER / MAILBOX_PASS durch echte Werte
|
||
|
|
# oder nutze das install.sh-Script, das .env einliest und
|
||
|
|
# diese Datei mit envsubst befüllt.
|
||
|
|
# =============================================================
|
||
|
|
|
||
|
|
[general]
|
||
|
|
# Statusverzeichnis für vdirsyncer-Metadaten
|
||
|
|
status_path = "~/.local/share/vdirsyncer/status/"
|
||
|
|
|
||
|
|
|
||
|
|
# -----------------------------------------------------------
|
||
|
|
# STORAGE: Lokale CalDAV-Verzeichnisse (filesystem)
|
||
|
|
# -----------------------------------------------------------
|
||
|
|
|
||
|
|
[storage local_calendars]
|
||
|
|
type = "filesystem"
|
||
|
|
path = "~/.local/share/vdirsyncer/calendars/"
|
||
|
|
fileext = ".ics"
|
||
|
|
|
||
|
|
[storage local_tasks]
|
||
|
|
type = "filesystem"
|
||
|
|
path = "~/.local/share/vdirsyncer/tasks/"
|
||
|
|
fileext = ".ics"
|
||
|
|
|
||
|
|
|
||
|
|
# -----------------------------------------------------------
|
||
|
|
# STORAGE: mailbox.org CalDAV-Server (Remote)
|
||
|
|
#
|
||
|
|
# mailbox.org CalDAV-Endpunkte:
|
||
|
|
# Kalender: https://dav.mailbox.org/caldav/<USERNAME>/
|
||
|
|
# Aufgaben: https://dav.mailbox.org/caldav/<USERNAME>/Aufgaben/
|
||
|
|
#
|
||
|
|
# Für die Entdeckung aller Sammlungen:
|
||
|
|
# vdirsyncer discover calendars
|
||
|
|
# -----------------------------------------------------------
|
||
|
|
|
||
|
|
[storage remote_calendars]
|
||
|
|
type = "caldav"
|
||
|
|
url = "https://dav.mailbox.org/caldav/${MAILBOX_USER}/"
|
||
|
|
username = "${MAILBOX_USER}"
|
||
|
|
password = "${MAILBOX_PASS}"
|
||
|
|
|
||
|
|
# Nur VEVENT-Einträge (Kalender-Ereignisse)
|
||
|
|
item_types = ["VEVENT"]
|
||
|
|
|
||
|
|
[storage remote_tasks]
|
||
|
|
type = "caldav"
|
||
|
|
url = "https://dav.mailbox.org/caldav/${MAILBOX_USER}/"
|
||
|
|
username = "${MAILBOX_USER}"
|
||
|
|
password = "${MAILBOX_PASS}"
|
||
|
|
|
||
|
|
# Nur VTODO-Einträge (Aufgaben / Tasks)
|
||
|
|
item_types = ["VTODO"]
|
||
|
|
|
||
|
|
|
||
|
|
# -----------------------------------------------------------
|
||
|
|
# PAIR: Kalender-Synchronisierung
|
||
|
|
# -----------------------------------------------------------
|
||
|
|
|
||
|
|
[pair calendars]
|
||
|
|
a = "local_calendars"
|
||
|
|
b = "remote_calendars"
|
||
|
|
collections = ["from b"]
|
||
|
|
|
||
|
|
# Konflikt-Lösung: Remote gewinnt (mailbox.org ist die Quelle der Wahrheit)
|
||
|
|
conflict_resolution = "b wins"
|
||
|
|
|
||
|
|
# Metadaten-Sync (Kalender-Farbe, Anzeigename)
|
||
|
|
metadata = ["color", "displayname"]
|
||
|
|
|
||
|
|
[pair tasks]
|
||
|
|
a = "local_tasks"
|
||
|
|
b = "remote_tasks"
|
||
|
|
collections = ["from b"]
|
||
|
|
conflict_resolution = "b wins"
|
||
|
|
metadata = ["color", "displayname"]
|