This forum has been archived. All content is frozen. Please use KDE Discuss instead.

kmail authentication on imap server using x509 certificate

Tags: None
(comma "," separated)
pichuco
Registered Member
Posts
5
Karma
0
Hello,

currently unable to authenticate kmail on an imap using a x509
certificate on an Ubuntu 12.04 system with latest KDE 4.8.4 installed.

The certificate and the root CA are both imported using kleopatra.
Kleopatra shows the certificate in the "My Certificate" tab together
with the root CA, both are marked as valid.

This is no networking issue. I tested both certificates successfully
using thunderbird or stunnel. What I want to do is to use kontact to
access my eMail on a zimbra server as well as the related calendar.

How do I achieve this? Is this possible at all?

Thanks and regards -- Peter
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
What kind of errors do you get? Is there anything suspicious in ~/.xsession-errors ?


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
pichuco
Registered Member
Posts
5
Karma
0
Hello,

what I did: I deleted all akonadi instances, removed all akonadi
password entries from kwallet and started from the beginning. The
settings in the new akonadi resource are taken from the working
thunderbird configuration.

Below the extract of .xsession-errors after all akonadi resources had
been deleted.

QGraphicsLinearLayout::removeAt: invalid index 1
QTextHtmlParser::applyAttributes: Unknown color name '4294967295'
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20 (X_GetProperty)
Resource id: 0x7c00192
Known subscriber "akonadi_imap_resource_7" subscribes again
Database "akonadi" opened using driver "QMYSQL"
Known subscriber "akonadi_imap_resource_7" subscribes again
Known subscriber "akonadi_imap_resource_7" subscribes again
akonadi_imap_resource_7(31432)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_imap_resource_7(31432)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Known subscriber "akonadi_imap_resource_7" subscribes again
akonadi_imap_resource_7(31432)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
akonadi_imap_resource_7(31432)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
[/usr/bin/nepomukservicestub] virtual void Soprano::Server::LocalServer::incomingConnection(quintptr)
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCorePrivate::addConnection(Soprano::Server::ServerConnection*) New connection. New count: 13
[/usr/bin/nepomukservicestub] Soprano::ODBC::Connection::Connection() Soprano::Server::ServerConnection(0x92f74d0)
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x8683260 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
[/usr/bin/nepomukservicestub] virtual void Soprano::Server::ServerConnection::run() thread done.
[/usr/bin/nepomukservicestub] virtual Soprano::ODBC::Connection::~Connection() Soprano::Server::ServerConnection(0x92f74d0)
kontact(27820)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x85d6f5c deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCore::serverConnectionFinished()
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
void Soprano::Server::ServerCore::serverConnectionFinished() Connection removed. Current count: 12
kontact(27820)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x865b798 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
kontact(27820)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x8672740 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(27820)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x8630d8c deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
kontact(27820)/kdeui (kdelibs) KXMLGUIClient::~KXMLGUIClient: 0x8646e60 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
[/usr/bin/nepomukservicestub] virtual void Soprano::Server::ServerConnection::run() thread done.
[/usr/bin/nepomukservicestub] virtual Soprano::ODBC::Connection::~Connection() Soprano::Server::ServerConnection(0x8f45268)
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCore::serverConnectionFinished()
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCore::serverConnectionFinished() Connection removed. Current count: 11
kontact(27820)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
void Akonadi::NotificationSource::serviceUnregistered(const QString&) Notification source "kontact" now serving: ()
void Akonadi::NotificationSource::unsubscribe() "kontact"
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Known subscriber "kontact" subscribes again
[/usr/bin/nepomukservicestub] virtual void Soprano::Server::LocalServer::incomingConnection(quintptr)
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCorePrivate::addConnection(Soprano::Server::ServerConnection*) New connection. New count: 12
[/usr/bin/nepomukservicestub] Soprano::ODBC::Connection::Connection() Soprano::Server::ServerConnection(0x93a7050)
Known subscriber "kontact" subscribes again
Known subscriber "kontact" subscribes again
[/usr/bin/nepomukservicestub] virtual void Soprano::Server::LocalServer::incomingConnection(quintptr)
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCorePrivate::addConnection(Soprano::Server::ServerConnection*) New connection. New count: 13
[/usr/bin/nepomukservicestub] Soprano::ODBC::Connection::Connection() Soprano::Server::ServerConnection(0x932eab0)
kontact(31605)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(31605)/kdepimlibs (mailtransport): Could not access Outbox.
Known subscriber "kontact" subscribes again
Known subscriber "kontact" subscribes again
kontact(31605)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(31605)/kdeui (KAction) KActionCollection::setComponentData: this does not work on a KActionCollection containing actions!
Known subscriber "kontact" subscribes again
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
Database "akonadi" opened using driver "QMYSQL"
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KLibrary) kde4Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer a qt_plugin_instance function.
kontact(31605)/kdecore (KLibrary) kde3Factory: The library "/usr/lib/kde4/kcm_kmail.so" does not offer an "init_kcm_kmail" function.
kontact(31605)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(31605)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(31605)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(31605)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(31605)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
kontact(31605)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
Restarting application '/usr/bin/akonadi_imap_resource'.
void Akonadi::NotificationSource::serviceUnregistered(const QString&) Notification source "akonadi_imap_resource_7" now serving: ()
void Akonadi::NotificationSource::unsubscribe() "akonadi_imap_resource_7"
Lost connection to resource "org.freedesktop.Akonadi.Resource.akonadi_imap_resource_7" , discarding cached interface
Known subscriber "akonadi_imap_resource_7" subscribes again
Database "akonadi" opened using driver "QMYSQL"
[/usr/bin/nepomukservicestub] virtual void Soprano::Server::ServerConnection::run() thread done.
[/usr/bin/nepomukservicestub] virtual Soprano::ODBC::Connection::~Connection() Soprano::Server::ServerConnection(0x932eab0)
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCore::serverConnectionFinished()
virtual Soprano::Server::ServerConnection::~ServerConnection() Removing connection
[/usr/bin/nepomukservicestub] void Soprano::Server::ServerCore::serverConnectionFinished() Connection removed. Current count: 12


There's no specific error message seen. The new resource just gets in state offline.

Any ideas?

Thanks and regards -- Peter
User avatar
einar
Administrator
Posts
3402
Karma
7
OS
Try opening "akonadiconsole", locate your resource and try (via right click menu) to bring it online. See if there are any error messages or some such.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]