Issue Description
When migrating a CalDAV source into a JMAP target, calendar tasks are read into the archive during import but are silently skipped during export. The same appears to apply to journal entries.
Environment
vandelay 1.0.12 (
Source: SOGo/Mailcow CalDAV
Target: Stalwart 0.16.25 (JMAP)
Expected Behavior
Either tasks are exported as well, or (if the JMAP target cannot represent them) inspect and the export summary report them as a distinct type so the discrepancy is visible, rather than the count just silently differing.
Actual Behavior
tasks & journals are skipped by vandelay export
Reproduction Steps
vandelay import caldav --url --auth-basic acct.sqlite on a calendar that contains VEVENTs and VTODOs.
vandelay inspect acct.sqlite → calendarevent count includes the tasks (e.g. 3843).
vandelay export --dry-run --url … acct.sqlite → CalendarEvent CREATE is lower by exactly the number of tasks (e.g. 3826).
Relevant Log Output
/migration ./migrate-mailbox.sh [email protected] inspect
Archive: /migration/archives/[email protected]
Source: imap imaps://xxx:993 (account [email protected] / [email protected])
mailbox 13
email 25,705
identity 0
sievescript 0
addressbook 2
contactcard 5
calendar 1
calendarevent 3,843
participantidentity 0
filenode 0
blobs 25,705 (1.9 GB)
2026-10-12 14:14:28 === export DRY RUN [email protected] → https://stalwart.xxx.eu (use --commit to write) ===
export: Mailbox …
export: AddressBook …
export: Calendar …
export: Email …
export: ContactCard …
export: CalendarEvent …
TYPE CREATE MATCHED
Mailbox 7 6
AddressBook 2 0
Calendar 1 0
Email 25705 0
ContactCard 5 0
CalendarEvent 3826 0
2026-10-12 14:14:30 === export finished ===
sqlite3 /root/migration/archives/[email protected]
“SELECT data_type, count(*) FROM calendar_events GROUP BY 1;”
Event|3826
Task|17
Stalwart Version
v0.16.x
Installation Method
Binary (Linux)
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on