On Wed, 11 Dec 2019 at 07:56, Sam Varshavchik <mr...@courier-mta.com> wrote:
>
> Manvendra Bhangui writes:
>
> > courier-imap-20191205 (courier-imap-5.0.8.20191205.tar.bz2) fails to
> > build using opensuse build service for centos6, rhel6, rhel7 because
> > of older openssl versions
> >
> > I have made the following changes to fix the issue.
> >
> > diff -Naur Courier-imap-5.0.8.20191205/libs/tcpd/libcouriertls.c
> > courier-imap-5.0.8.20191205/libs/tcpd/libcouriertls.c
>
> This completely removes server certificate validation.
>
> The original change replaced manual certificate validation with the default
> one provided by the openssl library itself, in the newer versions.
>
> Although server certificate validation is not used by Courier-IMAP, removing
> it is not the right fix.
>

Ok.

> Can you try building 20191210, which restores the older code when built
> against older versions of OpenSSL.
>

Thank you. Build 20191210 has no issue compiling on centos7, rhel6,
rhel7. Additionally I can confirm that the compilation goes through
without errors using OBS for the following distros

    * SUSE
          o openSUSE_Leap_15.1
          o SUSE Linux Enterprise 15
          o SUSE Linux Enterprise 15_SP1
          o SUSE Linux Enterprise 12 SP4
          o SUSE Linux Enterprise 12 SP3
          o SUSE Linux Enterprise 12 SP2
          o SUSE Linux Enterprise 12 SP1
          o SUSE Linux Enterprise 12

    * Red Hat
          o Fedora 31
          o Fedora 30

    * Debian
          o Debian 10.0
          o Debian 9.0
          o Debian 8.0
          o Ubuntu 19.10
          o Ubuntu 19.04
          o Ubuntu 18.04
          o Ubuntu 17.04
          o Ubuntu 16.04


_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to