mbimapidle maintains persistent server connection using IMAP protocol (RFC 2177) IDLE extension, it can be configured to run email sync command when it receives notification from the imap server about new messages.
mbimapidle only requires openssl version 3 and above, and it uses bmake (BSD Make) style Makefiles generated by the configure script.
- bmake
- openssl-3
[Build options]
type
$ ./configure --help
$ ./configure --prefix=/usr --sysconfdir=/etc --enable-openrc
$ bmake
$ bmake install
default path for openrc user service file is $sysconfdir/user/init.d, you can change it to another location using openrcuserdir configure option
$ ./configure --prefix=/usr --sysconfdir=/etc --enable-systemd
$ bmake
# bmake install
default path for openrc user service file is $sysconfdir/systemd/user, you can change it to another location using systemduserdir configure option.
$ ./configure
$ bmake
$ bmake install
Configuration file is located at
$XDG_CONFIG_HOME/mbimapidle/mbimapidlerc
which is normally located at
~/.config/mbimapidle/mbimapidlerc
Check out mbimapidlerc for a configuration example.
Using user service file
$ rc-update -U add mbimapidle
$ rc-service -U mbimapidle start
systemctl --user enable mbimapidle systemctl --user start mbimapidle
- STARTTLS, TLS support
- XOAUTH2 support
- password command configuration
- Plain communication