Based on your instructions, I managed to get the mails synchronized (again ;-) between two computers.
o The laptop pc-2 was set up from scratch, its home directory was barely populated when I ran the sync with unison for the first time => I don't know how this might work out if the account has been heavily used on both computers before, in particular due to the kmail-migrator, kres-migrator and -firstrun scripts. o The following problems appeared and still need a solution: (1) Search does not work anymore on the laptop pc-2. No matter what I search for: no matching entries are found. => How to get this running again? (2) The mail filters are not transferred. I ended up exporting them on pc-1 and importing them manually on pc-2. => In what file are they? I want future changes to the filters to propagate automagically :-/ Here are the relevant parts of my unison profile to synchronise laptop (pc-2) and home PC (pc-1). unison has to be invoked on the laptop: # remember to run "akonadictl stop" (and wait for akonadi to really stop) before syncing ! path = .gnupg ignore = Regex .*(cache|Cache|trash|Trash|history|thumbnails).* ignore = Name *~ ignore = Name *.desktop path = .kde/share/apps/kmail path = .kde/share/config/kmailrc path = .kde/share/apps/kmail2 path = .kde/share/config/kmail2rc path = .kde/share/config/kmailsnippetrc path = .kde/share/apps/kmail-migrator # to be sure ... path = .kde/share/apps/kres-migrator # to be sure ... path = .kde/share/config/kgpgrc path = .signature path = .kde/share/apps/kwallet path = .kde/share/config/kwalletrc path = .kde/share/config/kwalletmanagerrc path = .kde/share/apps/kabc path = .kde/share/config/kabcrc path = .kde/share/apps/korganizer path = .kde/share/config/korganizerrc path = .kde/share/apps/emailidentities # is this no longer used? path = .kde/share/config/emailidentities path = .kde/share/config/emaildefaults path = .kde/share/config/mailtransports path = .kde/share/config/ksslcertificatemanager path = .local/share/notes path = .local/share/local-mail ignore = Path {.gnupg/gpg-agent-info-*} ignore = Path {.local/share/akonadi/socket-*} # Th following filenames are likely to change if you modify settings # in the Personal Information framework => list has to be revised manually! # I did not figure out a suitable unison pattern yet, there are # too many other *rc files in the same directory ... # path = .local/share/akonadi path = .config/akonadi ignore = Path .kde/share/config/ ignore = Name {.local/share/akonadi/db_data/*.pid} path = .kde/share/config/akonadi_akonotes_resource_0rc path = .kde/share/config/akonadi_akonotes_resource_1rc path = .kde/share/config/akonadi_akonotes_resource_2rc path = .kde/share/config/akonadi_birthdays_resourcerc # path = .kde/share/config/akonadiconsolerc path = .kde/share/config/akonadi_contactrc path = .kde/share/config/akonadi_davgroupware_resource_0rc path = .kde/share/config/akonadi-firstrunrc path = .kde/share/config/akonadi_folderarchive_agentrc path = .kde/share/config/akonadi_gcal_resource_1rc path = .kde/share/config/akonadi_googlecalendar_resource_0rc path = .kde/share/config/akonadi_googledata_resource_0rc path = .kde/share/config/akonadi_ical_resource_0rc path = .kde/share/config/akonadi_imap_resource_0rc path = .kde/share/config/akonadi_imap_resource_1rc path = .kde/share/config/akonadi_imap_resource_2rc path = .kde/share/config/akonadi_imap_resource_3rc path = .kde/share/config/akonadi_imap_resource_4rc path = .kde/share/config/akonadi_imap_resource_5rc path = .kde/share/config/akonadi_imap_resource_6rc path = .kde/share/config/akonadi_kabc_resource_4rc path = .kde/share/config/akonadi_kcal_resource_0rc #path = .kde/share/config/akonadikderc path = .kde/share/config/akonadi_maildir_resource_0rc path = .kde/share/config/akonadi_maildir_resource_1rc path = .kde/share/config/akonadi_mailfilter_agentrc path = .kde/share/config/akonadi-migrationrc path = .kde/share/config/akonadi_mixedmaildir_resource_1rc path = .kde/share/config/akonadi_nepomuk_feederrc path = .kde/share/config/akonadi_newmailnotifier_agentrc path = .kde/share/config/akonadi_notes_agentrc path = .kde/share/config/akonadi_pop3_resource_0rc path = .kde/share/config/akonadi_pop3_resource_1rc path = .kde/share/config/akonadi_pop3_resource_2rc path = .kde/share/config/akonadi_pop3_resource_3rc path = .kde/share/config/akonadi_sendlater_agentrc Best, - Joerg