Files
raspi_openclaw/old/01_mailbox-cal-updated-docs/config/vdirsyncer.conf
T

83 lines
2.4 KiB
Plaintext
Raw Normal View History

2026-05-06 08:41:06 +02:00
# =============================================================
# 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"
# mailbox.org: @ im URL-Pfad muss als %40 kodiert sein
# MAILBOX_USER_ENCODED wird von install.sh via envsubst gesetzt
url = "https://dav.mailbox.org/caldav/${MAILBOX_USER_ENCODED}/"
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_ENCODED}/"
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"]