Announcement

Collapse
No announcement yet.

Problem buidling doveot from sources

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problem buidling doveot from sources

    'morning and best wishes for 2022!

    I have a problem with dovecot 2.3.7.2 on Kubuntu 20.04:
    Jan 10 10:30:18 firefly dovecot: imap-login: Error: Failed to initialize SSL server context: Can't load SSL certificate: error:140AB18F:SSL routines:SSL_CTX_use_certificate:ee key too small: user=<>, rip=172.16.0.51, lip=172.16.0.1, session=<J9oh/DbVo4SsEAAz>
    Searching the net for a cure, I read that adding a directive to the dovecot configuration file would help (but it was already there) or then rebuilding that certificate should solve the problem but it didn't.
    So I thought that maybe I could find out exactly which certificate was "too small".
    As this error message is output in two different functions:
    * client_sni_callback and
    * client_init_ssl
    (both in src/login-common/client-common.c), I wanted to add some debugs to further investigate.

    After installing the sources (apt-get source dovecot), I first tried to build without any modifications:
    cd dovecot-2.3.7.2/
    ./configure
    :
    make
    Which got me this:
    /root/dovecot-2.3.7.2/src/lib-mail/test-message-parser.c:90: undefined reference to `message_parser_init_from_parts'

    Can anyone help me get dovecot to build?

    Thanks in advance,

    Josef



    #2
    Have you run
    Code:
    sudo apt build-dep dovecot
    You may have to enable source repositories first.
    Regards, John Little

    Comment

    Working...
    X