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

241.11. kimap-26.08.2

KDE PIM IMAP client library used by the Akonadi IMAP resource and KMail

26.08.2-1 · LGPL-2.0-or-later AND GPL-2.0-or-later AND LGPL-2.0-only AND BSD-3-Clause AND CC0-1.0 AND MIT · 2.9 SBU · 1.2 MiB, 140 files · 43_toolkits, 221 of 344 · ports/core/mail/kimap

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

KIMAP is the IMAP client library of KDE PIM: login, folder listing, fetch, search, append, IDLE, quotas, ACLs and the other commands of IMAP4rev1 and its common extensions, as asynchronous KJobs over a session. The Akonadi IMAP resource in kdepim-runtime and KMail’s server tests use it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcoreaddons, ki18n, kio, kmime, cyrus-sasl.

Required by (6): grantlee-editor, kdepim-addons, kdepim-runtime, libksieve, pim-sieve-editor, pimcommon.

Sources: kimap-26.08.2.tar.xz (143.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 kimap'

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 \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6Mime=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKPim6IMAP.so.

Directories: /usr/include/KPim6/KIMAP, /usr/lib/cmake/KPim6IMAP, /usr/share/licenses/kimap.

Authentication goes through cyrus-sasl, which the configure requires. The mechanisms a login can use are the SASL plugins installed at run time; XOAUTH2, which Gmail and Outlook accounts need, is the plugin of cyrus-sasl-xoauth2 or the one libkgapi installs.