Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

241.16. mailimporter-26.08.2

KDE PIM library that imports mail from Thunderbird, Evolution, Claws, mbox and others into Akonadi

26.08.2-1 · GPL-2.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND BSD-3-Clause AND MIT AND CC0-1.0 · 1.0 SBU · 689.2 KiB, 86 files · 43_toolkits, 230 of 344 · ports/core/mail/mailimporter

Homepage: https://invent.kde.org/pim/mailimporter

MailImporter reads the mail stores of other clients and hands each message to a destination. KPim6MailImporter holds the filters, one per source: Thunderbird, Icedove and SeaMonkey, Evolution 1 to 3, Claws Mail and Sylpheed, Balsa, KMail’s own Maildir and archives, Opera, Outlook Express, Apple Mail, Lotus Notes, The Bat!, Pegasus Mail, plain mbox and plain-text folders. KPim6MailImporterAkonadi stores what they read into Akonadi folders. mailcommon, the import wizard and the mbox importer are built on it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kio, karchive, kconfig, kcoreaddons, ki18n, kmime, akonadi, akonadi-mime, pimcommon.

Required by (4): akonadi-import-wizard, kdepim-addons, mailcommon, mbox-importer.

Sources: mailimporter-26.08.2.tar.xz (598.5 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install mailimporter'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKPim6MailImporter.so, libKPim6MailImporterAkonadi.so.

Directories: /usr/include/KPim6/MailImporter, /usr/include/KPim6/MailImporterAkonadi, /usr/lib/cmake/KPim6MailImporter, /usr/lib/cmake/KPim6MailImporterAkonadi, /usr/share/licenses/mailimporter.

Every KPim library it finds, akonadi, akonadi-mime and pimcommon, must be at least PIM 6.8.2, the version of Gear 26.08.2, so the PIM ports move together. The Akonadi half does nothing without a running Akonadi server, which only a PIM application starts.