st3fan/dovecot-xaps-plugin

xaps_imap_plugin.so: undefined symbol net_transmit

Closed this issue · 15 comments

Hello everyone,
unfortunately, while trying to setup the plugin and daemon I am currently stuck with the xaps IMAP plugin. The daemon is compiled and running, but the user login to dovecot fails with the following error:

dovecot: imap(****@****************.**): Error: Couldn't load required plugin /usr/lib/dovecot/modules/lib25_xaps_imap_plugin.so: dlopen() failed: /usr/lib/dovecot/modules/lib25_xaps_imap_plugin.so: undefined symbol: net_transmit

The net_transmit symbol is referenced in xaps-daemon.c:68. Am I missing packages?
I am running Dovecot 2.3.9.2 (cf2918cac).

Have you done a system upgrade recently? If you upgrade or downgrade dovecot you have to recompile the plugin.

Thanks for your reply, I did not perform an up- or downgrade. This is a fresh install.

Could you please paste head -2 /usr/include/dovecot/ostream-unix.h?

There is no such file.

What distro are you running and what files does the dovecot package include?

I am running Ubuntu 16.04.6 LTS, the following files are installed:

dpkg-query -L plesk-dovecot
/.
/opt
/opt/psa
/opt/psa/bootstrapper
/opt/psa/bootstrapper/components
/opt/psa/bootstrapper/components/dovecot.sh
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/dovecot.socket
/lib/systemd/system/dovecot.service
/usr
/usr/lib
/usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/dovecot.conf
/usr/share
/usr/share/doc
/usr/share/doc/plesk-dovecot
/usr/share/doc/plesk-dovecot/INSTALL
/usr/share/doc/plesk-dovecot/dist-config
/usr/share/doc/plesk-dovecot/dist-config/dovecot.conf
/usr/share/doc/plesk-dovecot/dist-config/conf.d
/usr/share/doc/plesk-dovecot/dist-config/conf.d/10-plesk-security.conf
/usr/share/doc/plesk-dovecot/dist-config/conf.d/15-plesk-auth.conf
/usr/share/doc/plesk-dovecot/COPYING.LGPL.gz
/usr/share/doc/plesk-dovecot/COPYING
/usr/share/doc/plesk-dovecot/README.gz
/usr/share/doc/plesk-dovecot/NEWS.gz
/usr/share/doc/plesk-dovecot/COPYING.MIT
/usr/share/doc/plesk-dovecot/AUTHORS
/usr/share/doc/plesk-dovecot/changelog.gz
/usr/share/doc/plesk-dovecot/ChangeLog.gz
/etc
/etc/default
/etc/default/dovecot
/etc/init.d
/etc/init.d/dovecot
/etc/dovecot
/etc/dovecot/dovecot.conf
/etc/dovecot/private
/etc/dovecot/conf.d
/etc/dovecot/conf.d/10-plesk-security.conf
/etc/dovecot/conf.d/15-plesk-auth.conf
dpkg-query -L plesk-dovecot-core
/.
/usr
/usr/bin
/usr/bin/doveconf
/usr/bin/doveadm
/usr/sbin
/usr/sbin/dovecot
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/dovecot
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-lda.so.0.0.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-login.so.0.0.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-sql.so.0.0.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-compression.so.0.0.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-fts.so.0.0.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-dsync.so.0.0.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot.so.0.0.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-storage.so.0.0.0
/usr/lib/dovecot
/usr/lib/dovecot/aggregator
/usr/lib/dovecot/submission-login
/usr/lib/dovecot/lmtp
/usr/lib/dovecot/ipc
/usr/lib/dovecot/stats
/usr/lib/dovecot/pop3-login
/usr/lib/dovecot/doveadm-server
/usr/lib/dovecot/auth
/usr/lib/dovecot/script-login
/usr/lib/dovecot/dict
/usr/lib/dovecot/submission
/usr/lib/dovecot/gdbhelper
/usr/lib/dovecot/decode2text.sh
/usr/lib/dovecot/indexer
/usr/lib/dovecot/config
/usr/lib/dovecot/dns-client
/usr/lib/dovecot/rawlog
/usr/lib/dovecot/old-stats
/usr/lib/dovecot/imap-hibernate
/usr/lib/dovecot/anvil
/usr/lib/dovecot/script
/usr/lib/dovecot/director
/usr/lib/dovecot/imap-urlauth-login
/usr/lib/dovecot/modules
/usr/lib/dovecot/modules/lib20_quota_clone_plugin.so
/usr/lib/dovecot/modules/lib02_lazy_expunge_plugin.so
/usr/lib/dovecot/modules/lib20_notify_status_plugin.so
/usr/lib/dovecot/modules/lib20_replication_plugin.so
/usr/lib/dovecot/modules/lib20_push_notification_plugin.so
/usr/lib/dovecot/modules/libfs_mail_crypt.so
/usr/lib/dovecot/modules/doveadm
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_quota_plugin.so
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_acl_plugin.so
/usr/lib/dovecot/modules/doveadm/libdoveadm_mail_crypt_plugin.so
/usr/lib/dovecot/modules/doveadm/lib20_doveadm_fts_plugin.so
/usr/lib/dovecot/modules/doveadm/lib10_doveadm_expire_plugin.so
/usr/lib/dovecot/modules/auth
/usr/lib/dovecot/modules/auth/lib20_auth_var_expand_crypt.so
/usr/lib/dovecot/modules/auth/libauthdb_imap.so
/usr/lib/dovecot/modules/libfs_compress.so
/usr/lib/dovecot/modules/lib10_quota_plugin.so
/usr/lib/dovecot/modules/libfs_crypt.so
/usr/lib/dovecot/modules/lib21_fts_squat_plugin.so
/usr/lib/dovecot/modules/lib10_mail_filter_plugin.so
/usr/lib/dovecot/modules/lib20_listescape_plugin.so
/usr/lib/dovecot/modules/lib10_last_login_plugin.so
/usr/lib/dovecot/modules/lib99_welcome_plugin.so
/usr/lib/dovecot/modules/lib11_imap_quota_plugin.so
/usr/lib/dovecot/modules/old-stats
/usr/lib/dovecot/modules/old-stats/libold_stats_mail.so
/usr/lib/dovecot/modules/old-stats/libstats_auth.so
/usr/lib/dovecot/modules/lib15_notify_plugin.so
/usr/lib/dovecot/modules/lib30_imap_zlib_plugin.so
/usr/lib/dovecot/modules/lib20_var_expand_crypt.so
/usr/lib/dovecot/modules/lib20_fts_plugin.so
/usr/lib/dovecot/modules/lib20_expire_plugin.so
/usr/lib/dovecot/modules/lib05_snarf_plugin.so
/usr/lib/dovecot/modules/lib11_trash_plugin.so
/usr/lib/dovecot/modules/lib20_mailbox_alias_plugin.so
/usr/lib/dovecot/modules/lib10_mail_crypt_plugin.so
/usr/lib/dovecot/modules/lib20_zlib_plugin.so
/usr/lib/dovecot/modules/lib05_pop3_migration_plugin.so
/usr/lib/dovecot/modules/lib20_virtual_plugin.so
/usr/lib/dovecot/modules/lib20_charset_alias_plugin.so
/usr/lib/dovecot/modules/lib20_mail_log_plugin.so
/usr/lib/dovecot/modules/lib20_autocreate_plugin.so
/usr/lib/dovecot/modules/libssl_iostream_openssl.so
/usr/lib/dovecot/modules/lib95_imap_old_stats_plugin.so
/usr/lib/dovecot/modules/lib01_acl_plugin.so
/usr/lib/dovecot/modules/lib02_imap_acl_plugin.so
/usr/lib/dovecot/modules/lib05_mail_crypt_acl_plugin.so
/usr/lib/dovecot/modules/lib90_old_stats_plugin.so
/usr/lib/dovecot/dovecot-lda
/usr/lib/dovecot/log
/usr/lib/dovecot/imap-urlauth
/usr/lib/dovecot/quota-status
/usr/lib/dovecot/imap
/usr/lib/dovecot/xml2text
/usr/lib/dovecot/checkpassword-reply
/usr/lib/dovecot/replicator
/usr/lib/dovecot/pop3
/usr/lib/dovecot/indexer-worker
/usr/lib/dovecot/health-check.sh
/usr/lib/dovecot/imap-login
/usr/lib/dovecot/imap-urlauth-worker
/usr/lib/dovecot/maildirlock
/usr/share
/usr/share/man
/usr/share/man/man7
/usr/share/man/man7/doveadm-search-query.7.gz
/usr/share/man/man1
/usr/share/man/man1/doveadm-dump.1.gz
/usr/share/man/man1/doveconf.1.gz
/usr/share/man/man1/doveadm-fetch.1.gz
/usr/share/man/man1/doveadm-penalty.1.gz
/usr/share/man/man1/doveadm-rebuild.1.gz
/usr/share/man/man1/doveadm-stop.1.gz
/usr/share/man/man1/doveadm-replicator.1.gz
/usr/share/man/man1/doveadm-move.1.gz
/usr/share/man/man1/doveadm-import.1.gz
/usr/share/man/man1/doveadm-deduplicate.1.gz
/usr/share/man/man1/doveadm-quota.1.gz
/usr/share/man/man1/doveadm-purge.1.gz
/usr/share/man/man1/doveadm-exec.1.gz
/usr/share/man/man1/doveadm-mailbox-cryptokey.1.gz
/usr/share/man/man1/doveadm-instance.1.gz
/usr/share/man/man1/doveadm-force-resync.1.gz
/usr/share/man/man1/doveadm-who.1.gz
/usr/share/man/man1/dsync.1.gz
/usr/share/man/man1/doveadm-flags.1.gz
/usr/share/man/man1/doveadm-proxy.1.gz
/usr/share/man/man1/doveadm-fs.1.gz
/usr/share/man/man1/doveadm-user.1.gz
/usr/share/man/man1/dovecot-lda.1.gz
/usr/share/man/man1/doveadm-kick.1.gz
/usr/share/man/man1/doveadm-batch.1.gz
/usr/share/man/man1/doveadm.1.gz
/usr/share/man/man1/doveadm-backup.1.gz
/usr/share/man/man1/doveadm-copy.1.gz
/usr/share/man/man1/doveadm-director.1.gz
/usr/share/man/man1/doveadm-save.1.gz
/usr/share/man/man1/doveadm-index.1.gz
/usr/share/man/man1/doveadm-altmove.1.gz
/usr/share/man/man1/doveadm-acl.1.gz
/usr/share/man/man1/doveadm-auth.1.gz
/usr/share/man/man1/doveadm-reload.1.gz
/usr/share/man/man1/doveadm-mailbox.1.gz
/usr/share/man/man1/doveadm-config.1.gz
/usr/share/man/man1/doveadm-search.1.gz
/usr/share/man/man1/doveadm-stats.1.gz
/usr/share/man/man1/doveadm-log.1.gz
/usr/share/man/man1/doveadm-fts.1.gz
/usr/share/man/man1/doveadm-expunge.1.gz
/usr/share/man/man1/dovecot.1.gz
/usr/share/man/man1/doveadm-sync.1.gz
/usr/share/man/man1/deliver.1.gz
/usr/share/man/man1/doveadm-help.1.gz
/usr/share/man/man1/doveadm-pw.1.gz
/usr/share/doc
/usr/share/doc/plesk-dovecot-core
/usr/share/doc/plesk-dovecot-core/changelog.gz
/usr/share/doc/dovecot
/usr/share/doc/dovecot/thread-refs.txt.gz
/usr/share/doc/dovecot/solr-schema.xml
/usr/share/doc/dovecot/solr-schema-7.7.0.xml
/usr/share/doc/dovecot/wiki
/usr/share/doc/dovecot/wiki/Authentication.Mechanisms.txt
/usr/share/doc/dovecot/wiki/Design.Indexes.MainIndex.txt.gz
/usr/share/doc/dovecot/wiki/VirtualUsers.Home.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.Editheader.txt
/usr/share/doc/dovecot/wiki/Design.Dcrypt.txt.gz
/usr/share/doc/dovecot/wiki/Dict.txt
/usr/share/doc/dovecot/wiki/Dictionary.txt.gz
/usr/share/doc/dovecot/wiki/SharedMailboxes.ClusterSetup.txt
/usr/share/doc/dovecot/wiki/Debugging.Rawlog.txt.gz
/usr/share/doc/dovecot/wiki/MailboxFormat.MH.txt
/usr/share/doc/dovecot/wiki/IMAPServer.txt
/usr/share/doc/dovecot/wiki/Statistics.Old.txt.gz
/usr/share/doc/dovecot/wiki/Chrooting.txt
/usr/share/doc/dovecot/wiki/Quota.Dict.txt.gz
/usr/share/doc/dovecot/wiki/HowTo.PopBSMTPAndDovecot.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.Welcome.txt
/usr/share/doc/dovecot/wiki/Debugging.Thunderbird.txt
/usr/share/doc/dovecot/wiki/Design.Storage.Mailbox.Save.txt
/usr/share/doc/dovecot/wiki/MailboxFormat.mbx.txt
/usr/share/doc/dovecot/wiki/Errors.ChgrpNoPerm.txt
/usr/share/doc/dovecot/wiki/Design.txt
/usr/share/doc/dovecot/wiki/HowTo.PostfixAndDovecotSASL.txt.gz
/usr/share/doc/dovecot/wiki/FinishBasicConfiguration.txt
/usr/share/doc/dovecot/wiki/Design.Storage.Plugins.txt.gz
/usr/share/doc/dovecot/wiki/MailboxFormat.Maildir.txt.gz
/usr/share/doc/dovecot/wiki/Migration.Teapop.txt
/usr/share/doc/dovecot/wiki/Plugins.MailCrypt.txt.gz
/usr/share/doc/dovecot/wiki/AuthDatabase.Lua.txt.gz
/usr/share/doc/dovecot/wiki/VirtualUsers.txt.gz
/usr/share/doc/dovecot/wiki/Logging.txt.gz
/usr/share/doc/dovecot/wiki/Debugging.Authentication.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Configuration.Dict.txt.gz
/usr/share/doc/dovecot/wiki/Authentication.MultipleDatabases.txt
/usr/share/doc/dovecot/wiki/Design.Indexes.MailIndexApi.txt
/usr/share/doc/dovecot/wiki/Plugins.FTS.Squat.txt.gz
/usr/share/doc/dovecot/wiki/MailLocation.Maildir.txt.gz
/usr/share/doc/dovecot/wiki/SSL.CertificateClientImporting.txt
/usr/share/doc/dovecot/wiki/Replication.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.IMAPFilterSieve.txt
/usr/share/doc/dovecot/wiki/Design.AuthProtocol.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.SpamtestVirustest.txt.gz
/usr/share/doc/dovecot/wiki/NFS.txt.gz
/usr/share/doc/dovecot/wiki/ConfigFile.txt.gz
/usr/share/doc/dovecot/wiki/Sasl.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.Variables.txt
/usr/share/doc/dovecot/wiki/Events.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.ManageSieve.Troubleshooting.txt.gz
/usr/share/doc/dovecot/wiki/LDA.txt.gz
/usr/share/doc/dovecot/wiki/HAProxy.txt
/usr/share/doc/dovecot/wiki/AuthDatabase.SQL.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.Listescape.txt
/usr/share/doc/dovecot/wiki/BasicConfiguration.txt.gz
/usr/share/doc/dovecot/wiki/HowTo.PopRelay.txt.gz
/usr/share/doc/dovecot/wiki/AuthDatabase.Dict.txt.gz
/usr/share/doc/dovecot/wiki/Variables.txt.gz
/usr/share/doc/dovecot/wiki/AuthDatabase.LDAP.PasswordLookups.txt.gz
/usr/share/doc/dovecot/wiki/Quota.Maildir.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Troubleshooting.txt.gz
/usr/share/doc/dovecot/wiki/SharedMailboxes.txt
/usr/share/doc/dovecot/wiki/Design.Indexes.txt
/usr/share/doc/dovecot/wiki/maildrop.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Configuration.File.txt
/usr/share/doc/dovecot/wiki/AuthDatabase.LDAP.AuthBinds.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Configuration.txt.gz
/usr/share/doc/dovecot/wiki/Quota.Count.txt
/usr/share/doc/dovecot/wiki/SharedMailboxes.Public.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.Snarf.txt
/usr/share/doc/dovecot/wiki/Design.DoveadmProtocol.txt
/usr/share/doc/dovecot/wiki/PreAuth.txt
/usr/share/doc/dovecot/wiki/MailboxSettings.txt
/usr/share/doc/dovecot/wiki/Authentication.Caching.txt.gz
/usr/share/doc/dovecot/wiki/SharedMailboxes.Shared.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.txt
/usr/share/doc/dovecot/wiki/PerformanceTuning.txt
/usr/share/doc/dovecot/wiki/Design.ParameterForwarding.txt
/usr/share/doc/dovecot/wiki/MailboxFormat.mbox.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.Notify.txt
/usr/share/doc/dovecot/wiki/Upgrading.2.0.txt.gz
/usr/share/doc/dovecot/wiki/SSL.SNIClientSupport.txt
/usr/share/doc/dovecot/wiki/Migration.Cyrus.txt
/usr/share/doc/dovecot/wiki/PasswordDatabase.Static.txt
/usr/share/doc/dovecot/wiki/Design.DoveadmProtocol.HTTP.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.LastLogin.txt
/usr/share/doc/dovecot/wiki/WhyDoesItNotWork.txt.gz
/usr/share/doc/dovecot/wiki/POP3Server.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.NotifyStatus.txt
/usr/share/doc/dovecot/wiki/SystemUsers.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.Pipe.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.Lazyexpunge.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.Trash.txt
/usr/share/doc/dovecot/wiki/UserDatabase.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.Zlib.txt.gz
/usr/share/doc/dovecot/wiki/MTA.txt
/usr/share/doc/dovecot/wiki/MailLocation.SharedDisk.txt
/usr/share/doc/dovecot/wiki/Authentication.PasswordSchemes.txt.gz
/usr/share/doc/dovecot/wiki/IndexFiles.txt.gz
/usr/share/doc/dovecot/wiki/Design.Events.txt.gz
/usr/share/doc/dovecot/wiki/CompilingSource.txt.gz
/usr/share/doc/dovecot/wiki/PasswordDatabase.ExtraFields.NoDelay.txt
/usr/share/doc/dovecot/wiki/MailLocation.txt.gz
/usr/share/doc/dovecot/wiki/MailLocation.mbox.txt.gz
/usr/share/doc/dovecot/wiki/Upgrading.txt
/usr/share/doc/dovecot/wiki/Authentication.txt
/usr/share/doc/dovecot/wiki/SSL.txt
/usr/share/doc/dovecot/wiki/HowTo.Rootless.txt
/usr/share/doc/dovecot/wiki/PasswordDatabase.PAM.txt.gz
/usr/share/doc/dovecot/wiki/LDA.Sendmail.txt.gz
/usr/share/doc/dovecot/wiki/PostLoginScripting.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.CharsetAlias.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.IMAPSieve.txt.gz
/usr/share/doc/dovecot/wiki/Migration.Dsync.txt.gz
/usr/share/doc/dovecot/wiki/Design.Buffers.txt
/usr/share/doc/dovecot/wiki/Authentication.Policy.txt.gz
/usr/share/doc/dovecot/wiki/Migration.UW.txt.gz
/usr/share/doc/dovecot/wiki/AuthDatabase.PasswdFile.txt.gz
/usr/share/doc/dovecot/wiki/Design.Storage.Mail.txt.gz
/usr/share/doc/dovecot/wiki/HowTo.EximAndDovecotSASL.txt
/usr/share/doc/dovecot/wiki/Plugins.FTS.txt.gz
/usr/share/doc/dovecot/wiki/Authentication.Mechanisms.Winbind.txt
/usr/share/doc/dovecot/wiki/LDA.Qmail.txt
/usr/share/doc/dovecot/wiki/UserDatabase.NSS.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.ManageSieve.txt
/usr/share/doc/dovecot/wiki/LMTP.txt.gz
/usr/share/doc/dovecot/wiki/AuthDatabase.VPopMail.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.MailLog.txt
/usr/share/doc/dovecot/wiki/SocketUnavailable.txt
/usr/share/doc/dovecot/wiki/Design.Code.txt.gz
/usr/share/doc/dovecot/wiki/LDA.Exim.txt.gz
/usr/share/doc/dovecot/wiki/MailLocation.dbox.txt
/usr/share/doc/dovecot/wiki/Clients.NegativeUIDs.txt
/usr/share/doc/dovecot/wiki/Plugins.Stats.txt
/usr/share/doc/dovecot/wiki/Plugins.Expire.txt.gz
/usr/share/doc/dovecot/wiki/MboxChildFolders.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.ManageSieve.Clients.txt
/usr/share/doc/dovecot/wiki/QuickConfiguration.txt.gz
/usr/share/doc/dovecot/wiki/AuthDatabase.txt
/usr/share/doc/dovecot/wiki/Plugins.txt.gz
/usr/share/doc/dovecot/wiki/Design.Storage.Mailbox.txt
/usr/share/doc/dovecot/wiki/Design.Indexes.Cache.txt.gz
/usr/share/doc/dovecot/wiki/Design.Plugins.txt
/usr/share/doc/dovecot/wiki/MailboxFormat.Cydir.txt
/usr/share/doc/dovecot/wiki/PasswordDatabase.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.Vacation.txt.gz
/usr/share/doc/dovecot/wiki/UserDatabase.Static.txt
/usr/share/doc/dovecot/wiki/Design.Storage.MailUser.txt
/usr/share/doc/dovecot/wiki/PasswordDatabase.ExtraFields.txt.gz
/usr/share/doc/dovecot/wiki/Submission.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.txt
/usr/share/doc/dovecot/wiki/Design.Storage.Mailbox.Transaction.txt
/usr/share/doc/dovecot/wiki/Migration.txt.gz
/usr/share/doc/dovecot/wiki/RunningDovecot.txt.gz
/usr/share/doc/dovecot/wiki/PasswordDatabase.ExtraFields.Host.txt
/usr/share/doc/dovecot/wiki/Authentication.Penalty.txt
/usr/share/doc/dovecot/wiki/Authentication.MasterUsers.txt.gz
/usr/share/doc/dovecot/wiki/Quota.Configuration.txt.gz
/usr/share/doc/dovecot/wiki/MboxProblems.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Installation.txt.gz
/usr/share/doc/dovecot/wiki/PasswordDatabase.oauth2.txt.gz
/usr/share/doc/dovecot/wiki/UserDatabase.ExtraFields.txt.gz
/usr/share/doc/dovecot/wiki/PasswordDatabase.ExtraFields.Proxy.txt.gz
/usr/share/doc/dovecot/wiki/OSCompatibility.txt
/usr/share/doc/dovecot/wiki/Authentication.Mechanisms.NTLM.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.ManageSieve.Configuration.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.Virtual.txt.gz
/usr/share/doc/dovecot/wiki/Design.Strings.txt
/usr/share/doc/dovecot/wiki/AttachmentIndicator.txt
/usr/share/doc/dovecot/wiki/TestInstallation.txt.gz
/usr/share/doc/dovecot/wiki/Design.Storage.MailStorage.txt
/usr/share/doc/dovecot/wiki/MboxLocking.txt
/usr/share/doc/dovecot/wiki/ImapMetadata.txt
/usr/share/doc/dovecot/wiki/FindMailLocation.txt
/usr/share/doc/dovecot/wiki/HowTo.AntispamWithSieve.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.Extdata.txt.gz
/usr/share/doc/dovecot/wiki/AixPluginsSupport.txt.gz
/usr/share/doc/dovecot/wiki/HowTo.txt.gz
/usr/share/doc/dovecot/wiki/LMTP.Exim.txt.gz
/usr/share/doc/dovecot/wiki/UserDatabase.Prefetch.txt
/usr/share/doc/dovecot/wiki/MissingMailboxes.txt
/usr/share/doc/dovecot/wiki/SharedMailboxes.Symlinks.txt
/usr/share/doc/dovecot/wiki/PasswordDatabase.ExtraFields.User.txt
/usr/share/doc/dovecot/wiki/Upgrading.2.3.txt.gz
/usr/share/doc/dovecot/wiki/AuthDatabase.LDAP.txt
/usr/share/doc/dovecot/wiki/HowTo.WriteConfiguration.txt
/usr/share/doc/dovecot/wiki/Statistics.txt
/usr/share/doc/dovecot/wiki/DomainLost.txt
/usr/share/doc/dovecot/wiki/Design.Dsync.txt.gz
/usr/share/doc/dovecot/wiki/Upgrading.1.2.txt
/usr/share/doc/dovecot/wiki/Design.Storage.MailboxList.txt.gz
/usr/share/doc/dovecot/wiki/HowTo.ImapcProxy.txt.gz
/usr/share/doc/dovecot/wiki/PasswordDatabase.IMAP.txt
/usr/share/doc/dovecot/wiki/SharedMailboxes.Permissions.txt.gz
/usr/share/doc/dovecot/wiki/Debugging.ProcessTracing.txt
/usr/share/doc/dovecot/wiki/Plugins.Apparmor.txt
/usr/share/doc/dovecot/wiki/Migration.BincIMAP.txt.gz
/usr/share/doc/dovecot/wiki/Design.Indexes.TransactionLog.txt.gz
/usr/share/doc/dovecot/wiki/ACL.txt.gz
/usr/share/doc/dovecot/wiki/SSL.CertificateCreation.txt.gz
/usr/share/doc/dovecot/wiki/PasswordDatabase.ExtraFields.NoLogin.txt
/usr/share/doc/dovecot/wiki/Migration.Online.txt
/usr/share/doc/dovecot/wiki/uw2dovecot.sh.txt
/usr/share/doc/dovecot/wiki/Design.Storage.Mailbox.Search.txt.gz
/usr/share/doc/dovecot/wiki/Design.MailProcess.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Usage.txt.gz
/usr/share/doc/dovecot/wiki/Clients.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.QuotaClone.txt
/usr/share/doc/dovecot/wiki/Migration.Gmail.txt
/usr/share/doc/dovecot/wiki/Upgrading.1.0.txt.gz
/usr/share/doc/dovecot/wiki/Design.Arrays.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.txt
/usr/share/doc/dovecot/wiki/Timeouts.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.ManageSieve.Install.txt
/usr/share/doc/dovecot/wiki/PasswordDatabase.Shadow.txt
/usr/share/doc/dovecot/wiki/Quota.Dirsize.txt
/usr/share/doc/dovecot/wiki/LDA.Indexing.txt
/usr/share/doc/dovecot/wiki/LDA.Postfix.txt.gz
/usr/share/doc/dovecot/wiki/MailboxFormat.mailstore.txt
/usr/share/doc/dovecot/wiki/LoginProcess.txt.gz
/usr/share/doc/dovecot/wiki/Upgrading.2.1.txt
/usr/share/doc/dovecot/wiki/Plugins.VarExpandCrypt.txt
/usr/share/doc/dovecot/wiki/mutt.txt
/usr/share/doc/dovecot/wiki/Quota.txt.gz
/usr/share/doc/dovecot/wiki/Authentication.Kerberos.txt.gz
/usr/share/doc/dovecot/wiki/Migration.Courier.txt
/usr/share/doc/dovecot/wiki/SSL.DovecotConfiguration.txt.gz
/usr/share/doc/dovecot/wiki/Design.OutputStreams.txt.gz
/usr/share/doc/dovecot/wiki/Quota.FS.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.Include.txt
/usr/share/doc/dovecot/wiki/Plugins.Compress.txt
/usr/share/doc/dovecot/wiki/TestPop3Installation.txt.gz
/usr/share/doc/dovecot/wiki/AuthDatabase.CheckPassword.txt.gz
/usr/share/doc/dovecot/wiki/Mountpoints.txt
/usr/share/doc/dovecot/wiki/MailboxFormat.imapc.txt.gz
/usr/share/doc/dovecot/wiki/Services.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Configuration.LDAP.txt.gz
/usr/share/doc/dovecot/wiki/PasswordDatabase.BSDAuth.txt
/usr/share/doc/dovecot/wiki/Plugins.FTS.Lucene.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Examples.txt.gz
/usr/share/doc/dovecot/wiki/UserIds.txt.gz
/usr/share/doc/dovecot/wiki/Upgrading.2.2.txt
/usr/share/doc/dovecot/wiki/SecurityTuning.txt
/usr/share/doc/dovecot/wiki/MailboxFormat.txt.gz
/usr/share/doc/dovecot/wiki/Design.Lua.txt.gz
/usr/share/doc/dovecot/wiki/MailLocation.LocalDisk.txt
/usr/share/doc/dovecot/wiki/Director.txt.gz
/usr/share/doc/dovecot/wiki/Namespaces.txt.gz
/usr/share/doc/dovecot/wiki/Design.Storage.MailNamespace.txt
/usr/share/doc/dovecot/wiki/Design.InputStreams.txt.gz
/usr/share/doc/dovecot/wiki/HowTo.SimpleVirtualInstall.txt.gz
/usr/share/doc/dovecot/wiki/Design.Storage.ErrorHandling.txt
/usr/share/doc/dovecot/wiki/Upgrading.1.1.txt.gz
/usr/share/doc/dovecot/wiki/Migration.MailFormat.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.txt.gz
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Extensions.Duplicate.txt
/usr/share/doc/dovecot/wiki/Authentication.RestrictAccess.txt
/usr/share/doc/dovecot/wiki/Pigeonhole.Sieve.Plugins.Extprograms.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.MailboxAlias.txt
/usr/share/doc/dovecot/wiki/MDA.txt
/usr/share/doc/dovecot/wiki/Plugins.MailFilter.txt
/usr/share/doc/dovecot/wiki/AuthDatabase.Passwd.txt
/usr/share/doc/dovecot/wiki/Design.Storage.Mailbox.Sync.txt.gz
/usr/share/doc/dovecot/wiki/Design.Memory.txt.gz
/usr/share/doc/dovecot/wiki/MailboxFormat.dbox.txt.gz
/usr/share/doc/dovecot/wiki/Authentication.Mechanisms.DigestMD5.txt
/usr/share/doc/dovecot/wiki/Design.AuthProcess.txt.gz
/usr/share/doc/dovecot/wiki/TimeMovedBackwards.txt
/usr/share/doc/dovecot/wiki/PasswordDatabase.ExtraFields.AllowNets.txt
/usr/share/doc/dovecot/wiki/Plugins.PushNotification.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.Autocreate.txt
/usr/share/doc/dovecot/wiki/Migration.Linuxconf.txt
/usr/share/doc/dovecot/wiki/Design.Processes.txt.gz
/usr/share/doc/dovecot/wiki/Plugins.FTS.Solr.txt.gz
/usr/share/doc/dovecot/wiki/Migration.Vm-pop3d.txt
/usr/share/doc/dovecot/wiki/IMAPServer.Hibernation.txt
/usr/share/doc/dovecot/wiki/AuthDatabase.LDAP.Userdb.txt.gz
/usr/share/doc/dovecot/dovecot-openssl.cnf
/usr/share/doc/dovecot/documentation.txt.gz
/usr/share/doc/dovecot/securecoding.txt.gz
/usr/share/doc/dovecot/example-config
/usr/share/doc/dovecot/example-config/dovecot-dict-auth.conf.ext
/usr/share/doc/dovecot/example-config/dovecot.conf
/usr/share/doc/dovecot/example-config/conf.d
/usr/share/doc/dovecot/example-config/conf.d/10-logging.conf
/usr/share/doc/dovecot/example-config/conf.d/10-ssl.conf
/usr/share/doc/dovecot/example-config/conf.d/90-acl.conf
/usr/share/doc/dovecot/example-config/conf.d/auth-static.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/10-director.conf
/usr/share/doc/dovecot/example-config/conf.d/auth-checkpassword.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/auth-system.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/20-imap.conf
/usr/share/doc/dovecot/example-config/conf.d/auth-master.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/auth-sql.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/90-quota.conf
/usr/share/doc/dovecot/example-config/conf.d/20-lmtp.conf
/usr/share/doc/dovecot/example-config/conf.d/auth-dict.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/auth-deny.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/auth-ldap.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/10-mail.conf
/usr/share/doc/dovecot/example-config/conf.d/auth-vpopmail.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/auth-passwdfile.conf.ext
/usr/share/doc/dovecot/example-config/conf.d/20-submission.conf
/usr/share/doc/dovecot/example-config/conf.d/15-mailboxes.conf
/usr/share/doc/dovecot/example-config/conf.d/90-plugin.conf
/usr/share/doc/dovecot/example-config/conf.d/20-pop3.conf
/usr/share/doc/dovecot/example-config/conf.d/10-master.conf
/usr/share/doc/dovecot/example-config/conf.d/15-lda.conf
/usr/share/doc/dovecot/example-config/conf.d/10-auth.conf
/usr/share/doc/dovecot/example-config/dovecot-dict-sql.conf.ext
/usr/share/doc/dovecot/example-config/dovecot-sql.conf.ext
/usr/share/doc/dovecot/example-config/dovecot-ldap.conf.ext
/usr/share/doc/dovecot/solr-config-7.7.0.xml.gz
/usr/share/doc/dovecot/mkcert.sh
/usr/share/dovecot
/usr/share/dovecot/stopwords
/usr/share/dovecot/stopwords/stopwords_en.txt
/usr/share/dovecot/stopwords/stopwords_it.txt
/usr/share/dovecot/stopwords/stopwords_fi.txt
/usr/share/dovecot/stopwords/stopwords_de.txt
/usr/share/dovecot/stopwords/stopwords_sv.txt
/usr/share/dovecot/stopwords/stopwords_da.txt
/usr/share/dovecot/stopwords/stopwords_tr.txt
/usr/share/dovecot/stopwords/stopwords_ro.txt
/usr/share/dovecot/stopwords/stopwords_nl.txt
/usr/share/dovecot/stopwords/stopwords_fr.txt
/usr/share/dovecot/stopwords/stopwords_ru.txt
/usr/share/dovecot/stopwords/stopwords_es.txt
/usr/share/dovecot/stopwords/stopwords_pt.txt
/usr/share/dovecot/stopwords/stopwords_no.txt
/etc
/etc/dovecot
/usr/bin/dsync
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-login.so.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot.so.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-dsync.so.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-fts.so.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-sql.so.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-storage.so.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-compression.so.0
/usr/lib/x86_64-linux-gnu/dovecot/libdovecot-lda.so.0
/usr/lib/dovecot/deliver

You are missing all the dovecot header files. Is there a plesk-dovecot-dev package maybe?

Unfortunately not, but the dovecot-dev package is installed but probably not compatible with the plesk-dovecot package?

What version is the dovecot-dev package and what files does it include?

It's version 2.2.22-1ubuntu2.12 amd64 with the following installed files:

dpkg-query -L dovecot-dev
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/dovecot-dev
/usr/share/doc/dovecot-dev/README.Debian
/usr/share/doc/dovecot-dev/copyright
/usr/share/doc/dovecot-dev/changelog.Debian.gz
/usr/share/dovecot
/usr/share/dovecot/dovecot-abi
/usr/lib
/usr/lib/dovecot
/usr/lib/dovecot/dovecot-config
/usr/include
/usr/include/dovecot
/usr/include/dovecot/mech.h
/usr/include/dovecot/iostream-ssl-private.h
/usr/include/dovecot/auth-server-connection.h
/usr/include/dovecot/pop3c-sync.h
/usr/include/dovecot/auth-request-var-expand.h
/usr/include/dovecot/restrict-access.h
/usr/include/dovecot/imap-envelope.h
/usr/include/dovecot/doveadm-dsync.h
/usr/include/dovecot/index-mailbox-size.h
/usr/include/dovecot/mailbox-attribute-internal.h
/usr/include/dovecot/randgen.h
/usr/include/dovecot/mail-storage-hooks.h
/usr/include/dovecot/db-sql.h
/usr/include/dovecot/fdpass.h
/usr/include/dovecot/doveadm-print.h
/usr/include/dovecot/mountpoint.h
/usr/include/dovecot/istream-unix.h
/usr/include/dovecot/imap-keepalive.h
/usr/include/dovecot/auth-request-stats.h
/usr/include/dovecot/mailbox-attribute.h
/usr/include/dovecot/syslog-util.h
/usr/include/dovecot/utc-mktime.h
/usr/include/dovecot/message-part.h
/usr/include/dovecot/dbox-save.h
/usr/include/dovecot/auth-cache.h
/usr/include/dovecot/imapc-settings.h
/usr/include/dovecot/eacces-error.h
/usr/include/dovecot/login-proxy-state.h
/usr/include/dovecot/mycrypt.h
/usr/include/dovecot/imap-parser.h
/usr/include/dovecot/doveadm-dump.h
/usr/include/dovecot/unlink-directory.h
/usr/include/dovecot/file-create-locked.h
/usr/include/dovecot/sdbox-file.h
/usr/include/dovecot/message-decoder.h
/usr/include/dovecot/istream-zlib.h
/usr/include/dovecot/index-search-result.h
/usr/include/dovecot/service-settings.h
/usr/include/dovecot/fdatasync-path.h
/usr/include/dovecot/mailbox-list-index.h
/usr/include/dovecot/mail-thread.h
/usr/include/dovecot/imapc-msgmap.h
/usr/include/dovecot/hmac.h
/usr/include/dovecot/push-notification-txn-mbox.h
/usr/include/dovecot/ostream-failure-at.h
/usr/include/dovecot/istream.h
/usr/include/dovecot/message-date.h
/usr/include/dovecot/password-scheme.h
/usr/include/dovecot/dns-lookup.h
/usr/include/dovecot/iostream-rawlog.h
/usr/include/dovecot/db-checkpassword.h
/usr/include/dovecot/mbox-md5.h
/usr/include/dovecot/imap-login-client.h
/usr/include/dovecot/mail-index-transaction-private.h
/usr/include/dovecot/strfuncs.h
/usr/include/dovecot/maildir-uidlist.h
/usr/include/dovecot/master-interface.h
/usr/include/dovecot/bits.h
/usr/include/dovecot/userdb-template.h
/usr/include/dovecot/buffer.h
/usr/include/dovecot/hex-binary.h
/usr/include/dovecot/pop3c-settings.h
/usr/include/dovecot/file-copy.h
/usr/include/dovecot/mmap-util.h
/usr/include/dovecot/shared-storage.h
/usr/include/dovecot/doveadm.h
/usr/include/dovecot/primes.h
/usr/include/dovecot/fts-api.h
/usr/include/dovecot/array.h
/usr/include/dovecot/http-response-parser.h
/usr/include/dovecot/auth-master.h
/usr/include/dovecot/userdb.h
/usr/include/dovecot/dict-client.h
/usr/include/dovecot/push-notification-drivers.h
/usr/include/dovecot/imap-msgpart-url.h
/usr/include/dovecot/passdb-template.h
/usr/include/dovecot/login-common.h
/usr/include/dovecot/maildir-settings.h
/usr/include/dovecot/unix-socket-create.h
/usr/include/dovecot/istream-jsonstr.h
/usr/include/dovecot/fsync-mode.h
/usr/include/dovecot/safe-mkdir.h
/usr/include/dovecot/mdbox-storage-rebuild.h
/usr/include/dovecot/strnum.h
/usr/include/dovecot/auth-common.h
/usr/include/dovecot/mail-search-build.h
/usr/include/dovecot/mailbox-list-index-sync.h
/usr/include/dovecot/test-common.h
/usr/include/dovecot/fts-api-private.h
/usr/include/dovecot/master-service.h
/usr/include/dovecot/config-filter.h
/usr/include/dovecot/guid.h
/usr/include/dovecot/sha2.h
/usr/include/dovecot/dict-sql-settings.h
/usr/include/dovecot/imap-search.h
/usr/include/dovecot/imapc-client.h
/usr/include/dovecot/mail-search.h
/usr/include/dovecot/ostream-rawlog.h
/usr/include/dovecot/ioloop-notify-fd.h
/usr/include/dovecot/http-request-parser.h
/usr/include/dovecot/fs-sis-common.h
/usr/include/dovecot/auth-client-request.h
/usr/include/dovecot/mail-index.h
/usr/include/dovecot/dict.h
/usr/include/dovecot/istream-failure-at.h
/usr/include/dovecot/imap-date.h
/usr/include/dovecot/mail-search-register.h
/usr/include/dovecot/master-service-settings.h
/usr/include/dovecot/ostream-metawrap.h
/usr/include/dovecot/master-service-private.h
/usr/include/dovecot/sql-db-cache.h
/usr/include/dovecot/acl-cache.h
/usr/include/dovecot/dbox-storage.h
/usr/include/dovecot/quota-private.h
/usr/include/dovecot/push-notification-event-messagetrash.h
/usr/include/dovecot/mbox-storage.h
/usr/include/dovecot/data-stack.h
/usr/include/dovecot/mailbox-list.h
/usr/include/dovecot/imem.h
/usr/include/dovecot/mail-types.h
/usr/include/dovecot/access-lookup.h
/usr/include/dovecot/file-set-size.h
/usr/include/dovecot/push-notification-event-messageexpunge.h
/usr/include/dovecot/http-date.h
/usr/include/dovecot/doveadm-mail.h
/usr/include/dovecot/acl-global-file.h
/usr/include/dovecot/dbox-mail.h
/usr/include/dovecot/mail-storage-service.h
/usr/include/dovecot/fts-expunge-log.h
/usr/include/dovecot/client-common.h
/usr/include/dovecot/http-header-parser.h
/usr/include/dovecot/http-response.h
/usr/include/dovecot/mail-index-modseq.h
/usr/include/dovecot/passdb.h
/usr/include/dovecot/auth-token.h
/usr/include/dovecot/quota-plugin.h
/usr/include/dovecot/dsasl-client-private.h
/usr/include/dovecot/mountpoint-list.h
/usr/include/dovecot/failures.h
/usr/include/dovecot/dict-transaction-memory.h
/usr/include/dovecot/fts-user.h
/usr/include/dovecot/ioloop-iolist.h
/usr/include/dovecot/message-binary-part.h
/usr/include/dovecot/istream-attachment-extractor.h
/usr/include/dovecot/mail-index-strmap.h
/usr/include/dovecot/printf-format-fix.h
/usr/include/dovecot/http-server.h
/usr/include/dovecot/master-instance.h
/usr/include/dovecot/iso8601-date.h
/usr/include/dovecot/mail-namespace.h
/usr/include/dovecot/mail-cache.h
/usr/include/dovecot/mail-transaction-log-private.h
/usr/include/dovecot/db-passwd-file.h
/usr/include/dovecot/imap-fetch.h
/usr/include/dovecot/push-notification-event-flagsset.h
/usr/include/dovecot/doveadm-util.h
/usr/include/dovecot/hash2.h
/usr/include/dovecot/mailbox-list-notify-tree.h
/usr/include/dovecot/stats-connection.h
/usr/include/dovecot/istream-chain.h
/usr/include/dovecot/mdbox-map.h
/usr/include/dovecot/index-sort.h
/usr/include/dovecot/doveadm-mailbox-list-iter.h
/usr/include/dovecot/mail-storage-settings.h
/usr/include/dovecot/uri-util.h
/usr/include/dovecot/push-notification-event-mailboxcreate.h
/usr/include/dovecot/dsync-ibc.h
/usr/include/dovecot/fts-indexer.h
/usr/include/dovecot/mailbox-list-index-storage.h
/usr/include/dovecot/md5.h
/usr/include/dovecot/doveadm-settings.h
/usr/include/dovecot/strescape.h
/usr/include/dovecot/fts-common.h
/usr/include/dovecot/settings.h
/usr/include/dovecot/mail-index-util.h
/usr/include/dovecot/json-tree.h
/usr/include/dovecot/compression.h
/usr/include/dovecot/dict-private.h
/usr/include/dovecot/mail-transaction-log.h
/usr/include/dovecot/imap-login-commands.h
/usr/include/dovecot/http-auth.h
/usr/include/dovecot/imap-sync.h
/usr/include/dovecot/pop3-capability.h
/usr/include/dovecot/mbox-sync-private.h
/usr/include/dovecot/hash-method.h
/usr/include/dovecot/imap-commands.h
/usr/include/dovecot/mailbox-list-maildir.h
/usr/include/dovecot/compat.h
/usr/include/dovecot/aqueue.h
/usr/include/dovecot/auth-request.h
/usr/include/dovecot/dbox-file.h
/usr/include/dovecot/settings-parser.h
/usr/include/dovecot/imap-urlauth-private.h
/usr/include/dovecot/push-notification-events-rfc5423.h
/usr/include/dovecot/imap-arg.h
/usr/include/dovecot/imap-master-client.h
/usr/include/dovecot/http-request.h
/usr/include/dovecot/raw-sync.h
/usr/include/dovecot/maildir-sync.h
/usr/include/dovecot/ostream-private.h
/usr/include/dovecot/mempool.h
/usr/include/dovecot/mail-search-parser-private.h
/usr/include/dovecot/mailbox-list-delete.h
/usr/include/dovecot/push-notification-events.h
/usr/include/dovecot/imap-url.h
/usr/include/dovecot/pop3c-client.h
/usr/include/dovecot/mdbox-settings.h
/usr/include/dovecot/maildir-storage.h
/usr/include/dovecot/safe-mkstemp.h
/usr/include/dovecot/notify-plugin.h
/usr/include/dovecot/file-cache.h
/usr/include/dovecot/auth-master-connection.h
/usr/include/dovecot/file-dotlock.h
/usr/include/dovecot/imap-settings.h
/usr/include/dovecot/istream-header-filter.h
/usr/include/dovecot/imap-utf7.h
/usr/include/dovecot/mbox-from.h
/usr/include/dovecot/askpass.h
/usr/include/dovecot/http-transfer.h
/usr/include/dovecot/mailbox-uidvalidity.h
/usr/include/dovecot/acl-api-private.h
/usr/include/dovecot/http-client-private.h
/usr/include/dovecot/fts-filter-private.h
/usr/include/dovecot/index-thread-private.h
/usr/include/dovecot/istream-binary-converter.h
/usr/include/dovecot/fts-storage.h
/usr/include/dovecot/sort.h
/usr/include/dovecot/mail-index-view-private.h
/usr/include/dovecot/subscription-file.h
/usr/include/dovecot/imap-msgpart.h
/usr/include/dovecot/imap-base-subject.h
/usr/include/dovecot/ostream.h
/usr/include/dovecot/auth-worker-client.h
/usr/include/dovecot/sql-api-private.h
/usr/include/dovecot/cydir-storage.h
/usr/include/dovecot/doveadm-print-private.h
/usr/include/dovecot/push-notification-triggers.h
/usr/include/dovecot/qp-decoder.h
/usr/include/dovecot/anvil-client.h
/usr/include/dovecot/maildir-filename.h
/usr/include/dovecot/master-login-auth.h
/usr/include/dovecot/sdbox-storage.h
/usr/include/dovecot/index-sync-changes.h
/usr/include/dovecot/imap-list.h
/usr/include/dovecot/imap-notify.h
/usr/include/dovecot/http-server-private.h
/usr/include/dovecot/dsasl-client.h
/usr/include/dovecot/ssl-proxy.h
/usr/include/dovecot/config.h
/usr/include/dovecot/fts-language.h
/usr/include/dovecot/sql-api.h
/usr/include/dovecot/sdbox-sync.h
/usr/include/dovecot/unlink-old-files.h
/usr/include/dovecot/master-auth.h
/usr/include/dovecot/mail-deliver.h
/usr/include/dovecot/imapc-list.h
/usr/include/dovecot/rand.h
/usr/include/dovecot/message-header-parser.h
/usr/include/dovecot/http-client.h
/usr/include/dovecot/imap-login-settings.h
/usr/include/dovecot/hash.h
/usr/include/dovecot/master-service-settings-cache.h
/usr/include/dovecot/ipwd.h
/usr/include/dovecot/md4.h
/usr/include/dovecot/imapc-storage.h
/usr/include/dovecot/imap-client.h
/usr/include/dovecot/mbox-file.h
/usr/include/dovecot/var-expand.h
/usr/include/dovecot/raw-storage.h
/usr/include/dovecot/str-find.h
/usr/include/dovecot/maildir-filename-flags.h
/usr/include/dovecot/istream-base64.h
/usr/include/dovecot/net.h
/usr/include/dovecot/message-snippet.h
/usr/include/dovecot/push-notification-txn-msg.h
/usr/include/dovecot/message-part-serialize.h
/usr/include/dovecot/mail-cache-private.h
/usr/include/dovecot/db-ldap.h
/usr/include/dovecot/notify-plugin-private.h
/usr/include/dovecot/ostream-dot.h
/usr/include/dovecot/login-proxy.h
/usr/include/dovecot/sha1.h
/usr/include/dovecot/login-settings.h
/usr/include/dovecot/charset-utf8.h
/usr/include/dovecot/http-parser.h
/usr/include/dovecot/file-lock.h
/usr/include/dovecot/lmtp-client.h
/usr/include/dovecot/mailbox-list-fs.h
/usr/include/dovecot/ostream-zlib.h
/usr/include/dovecot/imap-urlauth-fetch.h
/usr/include/dovecot/dict-sql.h
/usr/include/dovecot/pop3-settings.h
/usr/include/dovecot/mech-otp-skey-common.h
/usr/include/dovecot/imap-util.h
/usr/include/dovecot/imap-expunge.h
/usr/include/dovecot/imap-urlauth-backend.h
/usr/include/dovecot/hmac-cram-md5.h
/usr/include/dovecot/fd-set-nonblock.h
/usr/include/dovecot/rfc2231-parser.h
/usr/include/dovecot/str-sanitize.h
/usr/include/dovecot/iostream-temp.h
/usr/include/dovecot/mailbox-list-private.h
/usr/include/dovecot/ostream-escaped.h
/usr/include/dovecot/istream-metawrap.h
/usr/include/dovecot/message-header-encode.h
/usr/include/dovecot/fs-api.h
/usr/include/dovecot/mailbox-log.h
/usr/include/dovecot/process-title.h
/usr/include/dovecot/istream-nonuls.h
/usr/include/dovecot/istream-seekable.h
/usr/include/dovecot/mail-copy.h
/usr/include/dovecot/imap-resp-code.h
/usr/include/dovecot/imap-urlauth.h
/usr/include/dovecot/istream-qp.h
/usr/include/dovecot/crc32.h
/usr/include/dovecot/auth-penalty.h
/usr/include/dovecot/http-header.h
/usr/include/dovecot/mailbox-tree.h
/usr/include/dovecot/array-decl.h
/usr/include/dovecot/config-parser.h
/usr/include/dovecot/istream-raw-mbox.h
/usr/include/dovecot/fs-api-private.h
/usr/include/dovecot/read-full.h
/usr/include/dovecot/imap-status.h
/usr/include/dovecot/userdb-blocking.h
/usr/include/dovecot/connection.h
/usr/include/dovecot/message-size.h
/usr/include/dovecot/str.h
/usr/include/dovecot/istream-rawlog.h
/usr/include/dovecot/fts-filter.h
/usr/include/dovecot/index-rebuild.h
/usr/include/dovecot/mailbox-recent-flags.h
/usr/include/dovecot/mdbox-map-private.h
/usr/include/dovecot/fts-tokenizer-common.h
/usr/include/dovecot/stats-parser.h
/usr/include/dovecot/rfc822-parser.h
/usr/include/dovecot/acl-plugin.h
/usr/include/dovecot/mkdir-parents.h
/usr/include/dovecot/imap-match.h
/usr/include/dovecot/cydir-sync.h
/usr/include/dovecot/push-notification-event-mailboxrename.h
/usr/include/dovecot/mbox-lock.h
/usr/include/dovecot/push-notification-event-messageappend.h
/usr/include/dovecot/istream-hash.h
/usr/include/dovecot/imapc-mail.h
/usr/include/dovecot/llist.h
/usr/include/dovecot/base32.h
/usr/include/dovecot/master-service-ssl.h
/usr/include/dovecot/child-wait.h
/usr/include/dovecot/lib.h
/usr/include/dovecot/fts-icu.h
/usr/include/dovecot/quota-fs.h
/usr/include/dovecot/index-search-private.h
/usr/include/dovecot/iostream-rawlog-private.h
/usr/include/dovecot/istream-concat.h
/usr/include/dovecot/iostream-lz4.h
/usr/include/dovecot/priorityq.h
/usr/include/dovecot/sasl-server.h
/usr/include/dovecot/write-full.h
/usr/include/dovecot/restrict-process-size.h
/usr/include/dovecot/index-sort-private.h
/usr/include/dovecot/sendfile-util.h
/usr/include/dovecot/json-parser.h
/usr/include/dovecot/imap-id.h
/usr/include/dovecot/istream-crlf.h
/usr/include/dovecot/numpack.h
/usr/include/dovecot/mailbox-guid-cache.h
/usr/include/dovecot/index-sync-private.h
/usr/include/dovecot/sieve
/usr/include/dovecot/sieve/sieve-error-private.h
/usr/include/dovecot/sieve/sieve-objects.h
/usr/include/dovecot/sieve/sieve-result.h
/usr/include/dovecot/sieve/pigeonhole-version.h
/usr/include/dovecot/sieve/sieve-types.h
/usr/include/dovecot/sieve/rfc2822.h
/usr/include/dovecot/sieve/sieve-runtime-trace.h
/usr/include/dovecot/sieve/pigeonhole-config.h
/usr/include/dovecot/sieve/sieve-binary.h
/usr/include/dovecot/sieve/sieve-limits.h
/usr/include/dovecot/sieve/sieve-ext-imap4flags.h
/usr/include/dovecot/sieve/sieve-ext-environment.h
/usr/include/dovecot/sieve/sieve-interpreter.h
/usr/include/dovecot/sieve/sieve-extensions.h
/usr/include/dovecot/sieve/sieve-address-parts.h
/usr/include/dovecot/sieve/sieve-ast.h
/usr/include/dovecot/sieve/sieve.h
/usr/include/dovecot/sieve/sieve-stringlist.h
/usr/include/dovecot/sieve/sieve-parser.h
/usr/include/dovecot/sieve/sieve-commands.h
/usr/include/dovecot/sieve/sieve-script-private.h
/usr/include/dovecot/sieve/sieve-binary-dumper.h
/usr/include/dovecot/sieve/program-client.h
/usr/include/dovecot/sieve/sieve-storage-private.h
/usr/include/dovecot/sieve/sieve-ext-copy.h
/usr/include/dovecot/sieve/sieve-common.h
/usr/include/dovecot/sieve/sieve-generator.h
/usr/include/dovecot/sieve/sieve-comparators.h
/usr/include/dovecot/sieve/sieve-ext-enotify.h
/usr/include/dovecot/sieve/sieve-error.h
/usr/include/dovecot/sieve/sieve-validator.h
/usr/include/dovecot/sieve/sieve-ext-variables.h
/usr/include/dovecot/sieve/sieve-runtime.h
/usr/include/dovecot/sieve/sieve-script.h
/usr/include/dovecot/sieve/sieve-binary-private.h
/usr/include/dovecot/sieve/sieve-code.h
/usr/include/dovecot/sieve/sieve-plugins.h
/usr/include/dovecot/sieve/realpath.h
/usr/include/dovecot/sieve/sieve-match.h
/usr/include/dovecot/sieve/sieve-address.h
/usr/include/dovecot/sieve/sieve-code-dumper.h
/usr/include/dovecot/sieve/sieve-smtp.h
/usr/include/dovecot/sieve/sieve-lexer.h
/usr/include/dovecot/sieve/sieve-message.h
/usr/include/dovecot/sieve/sieve-match-types.h
/usr/include/dovecot/sieve/sieve-config.h
/usr/include/dovecot/sieve/sieve-ext-mailbox.h
/usr/include/dovecot/sieve/program-client-private.h
/usr/include/dovecot/sieve/sieve-storage.h
/usr/include/dovecot/sieve/sieve-settings.h
/usr/include/dovecot/sieve/sieve-actions.h
/usr/include/dovecot/sieve/sieve-dump.h
/usr/include/dovecot/sieve/edit-mail.h
/usr/include/dovecot/sieve/strtrim.h
/usr/include/dovecot/mdbox-sync.h
/usr/include/dovecot/fts-tokenizer-generic-private.h
/usr/include/dovecot/http-message-parser.h
/usr/include/dovecot/imap-common.h
/usr/include/dovecot/auth-client.h
/usr/include/dovecot/auth-settings.h
/usr/include/dovecot/nfs-workarounds.h
/usr/include/dovecot/push-notification-event-mailboxsubscribe.h
/usr/include/dovecot/userdb-vpopmail.h
/usr/include/dovecot/mdbox-storage.h
/usr/include/dovecot/execv-const.h
/usr/include/dovecot/push-notification-event-flagsclear.h
/usr/include/dovecot/iostream-openssl.h
/usr/include/dovecot/mail-transaction-log-view-private.h
/usr/include/dovecot/istream-attachment-connector.h
/usr/include/dovecot/auth-client-private.h
/usr/include/dovecot/safe-memset.h
/usr/include/dovecot/push-notification-event-message-common.h
/usr/include/dovecot/pop3-commands.h
/usr/include/dovecot/pop3-common.h
/usr/include/dovecot/acl-lookup-dict.h
/usr/include/dovecot/db-dict.h
/usr/include/dovecot/mail-user.h
/usr/include/dovecot/backtrace-string.h
/usr/include/dovecot/auth.h
/usr/include/dovecot/mailbox-attribute-private.h
/usr/include/dovecot/istream-dot.h
/usr/include/dovecot/auth-client-connection.h
/usr/include/dovecot/maildir-keywords.h
/usr/include/dovecot/utc-offset.h
/usr/include/dovecot/ipc-server.h
/usr/include/dovecot/str-table.h
/usr/include/dovecot/duplicate.h
/usr/include/dovecot/fd-close-on-exec.h
/usr/include/dovecot/message-parser.h
/usr/include/dovecot/ioloop-private.h
/usr/include/dovecot/hash-decl.h
/usr/include/dovecot/mdbox-file.h
/usr/include/dovecot/imap-bodystructure.h
/usr/include/dovecot/home-expand.h
/usr/include/dovecot/wildcard-match.h
/usr/include/dovecot/dbox-attachment.h
/usr/include/dovecot/imapc-search.h
/usr/include/dovecot/fail-mail-storage.h
/usr/include/dovecot/index-mail.h
/usr/include/dovecot/fts-tokenizer-private.h
/usr/include/dovecot/mail-index-alloc-cache.h
/usr/include/dovecot/passdb-blocking.h
/usr/include/dovecot/auth-fields.h
/usr/include/dovecot/abspath.h
/usr/include/dovecot/fts-library.h
/usr/include/dovecot/istream-file-private.h
/usr/include/dovecot/push-notification-event-messageread.h
/usr/include/dovecot/base64.h
/usr/include/dovecot/imapc-client-private.h
/usr/include/dovecot/imap-commands-util.h
/usr/include/dovecot/config-request.h
/usr/include/dovecot/push-notification-plugin.h
/usr/include/dovecot/istream-private.h
/usr/include/dovecot/unichar.h
/usr/include/dovecot/stats.h
/usr/include/dovecot/mbox-settings.h
/usr/include/dovecot/passdb-cache.h
/usr/include/dovecot/mail-search-parser.h
/usr/include/dovecot/dovecot-version.h
/usr/include/dovecot/config-parser-private.h
/usr/include/dovecot/env-util.h
/usr/include/dovecot/message-address.h
/usr/include/dovecot/message-header-hash.h
/usr/include/dovecot/quoted-printable.h
/usr/include/dovecot/pop3-client.h
/usr/include/dovecot/mail-autoexpunge.h
/usr/include/dovecot/imap-seqset.h
/usr/include/dovecot/module-context.h
/usr/include/dovecot/doveadm-mail-iter.h
/usr/include/dovecot/auth-stats.h
/usr/include/dovecot/istream-callback.h
/usr/include/dovecot/module-dir.h
/usr/include/dovecot/iostream-private.h
/usr/include/dovecot/mailbox-list-subscriptions.h
/usr/include/dovecot/mail-send.h
/usr/include/dovecot/mail-html2text.h
/usr/include/dovecot/quota.h
/usr/include/dovecot/push-notification-event-mailboxunsubscribe.h
/usr/include/dovecot/lda-settings.h
/usr/include/dovecot/hostpid.h
/usr/include/dovecot/ioloop.h
/usr/include/dovecot/message-header-decode.h
/usr/include/dovecot/imapc-connection.h
/usr/include/dovecot/auth-worker-server.h
/usr/include/dovecot/time-util.h
/usr/include/dovecot/hex-dec.h
/usr/include/dovecot/auth-request-handler.h
/usr/include/dovecot/dsync-brain.h
/usr/include/dovecot/mech-plain-common.h
/usr/include/dovecot/http-url.h
/usr/include/dovecot/lib-signals.h
/usr/include/dovecot/hash-format.h
/usr/include/dovecot/smtp-client.h
/usr/include/dovecot/index-storage.h
/usr/include/dovecot/message-search.h
/usr/include/dovecot/istream-mail.h
/usr/include/dovecot/imap-quote.h
/usr/include/dovecot/pop3c-storage.h
/usr/include/dovecot/mailbox-list-iter.h
/usr/include/dovecot/ostream-cmp.h
/usr/include/dovecot/push-notification-event-messagenew.h
/usr/include/dovecot/iostream-ssl.h
/usr/include/dovecot/index-attachment.h
/usr/include/dovecot/mailbox-list-notify.h
/usr/include/dovecot/acl-storage.h
/usr/include/dovecot/mail-index-private.h
/usr/include/dovecot/doveadm-cmd.h
/usr/include/dovecot/mailbox-watch.h
/usr/include/dovecot/auth-postfix-connection.h
/usr/include/dovecot/istream-tee.h
/usr/include/dovecot/push-notification-event-mailboxdelete.h
/usr/include/dovecot/mail-error.h
/usr/include/dovecot/seq-range-array.h
/usr/include/dovecot/ostream-hash.h
/usr/include/dovecot/mail-storage.h
/usr/include/dovecot/message-id.h
/usr/include/dovecot/fts-parser.h
/usr/include/dovecot/istream-fs-file.h
/usr/include/dovecot/imap-urlauth-connection.h
/usr/include/dovecot/bsearch-insert-pos.h
/usr/include/dovecot/master-service-ssl-settings.h
/usr/include/dovecot/auth-client-interface.h
/usr/include/dovecot/fts-tokenizer.h
/usr/include/dovecot/timing.h
/usr/include/dovecot/mail-index-sync-private.h
/usr/include/dovecot/imap-search-args.h
/usr/include/dovecot/mail-user-hash.h
/usr/include/dovecot/istream-sized.h
/usr/include/dovecot/macros.h
/usr/include/dovecot/master-login.h
/usr/include/dovecot/mailbox-search-result-private.h
/usr/include/dovecot/acl-api.h
/usr/include/dovecot/ipc-client.h
/usr/include/dovecot/imapc-sync.h
/usr/include/dovecot/iostream.h
/usr/include/dovecot/imap-state.h
/usr/include/dovecot/mail-storage-private.h
/usr/include/dovecot/istream-fs-stats.h
/usr/include/dovecot/istream-timeout.h
/usr/include/dovecot/imap-metadata.h

I guess I have to search for a 2.3.9.2 version of dovecot-dev, right?

You shouldn't mix up 2.2.22 headers with 2.3.9.2 binary. We do a lookup for certain symbols that changed over time. The binary you built is compatible with a 2.2.22 dovecot binary, but not with a 2.3.9.2 one. Since there are several compile time options for dovecot you also shouldn't mixup the plesk binary with a different header package.
So the best way would be to bug the plesk people for the header files or use a different dovecot version after all.

Alright, I will contact Plesk for further support for now. Your help is highly appreciated!

I'll close this for now as this isn't an issue in the code. Contact me via email if you need further assistance or reopen the issue if necessary.

I fixed the initial problem by downloading the correct version of dovecot-dev from the dovecot repo: https://repo.dovecot.org/.

That's not recommended though and could cause more troubles. Glad you got it working though :)