Re: Dovecot 2.2.25 fails on SSL

2016-09-29 Thread Aki Tuomi
> On September 30, 2016 at 3:26 AM "Andreas M. Kirchwitz" > wrote: > > > Joseph Tam wrote: > > >>> OK, the origin of your problem becomes clearer. You can hardcode these > >>> paths into the executables by doing something like > >>> > >>> env

Re: Dovecot 2.2.25 fails on SSL

2016-09-29 Thread Andreas M. Kirchwitz
Joseph Tam wrote: >>> OK, the origin of your problem becomes clearer. You can hardcode these >>> paths into the executables by doing something like >>> >>> env CFLAGS='-I/my'ssl/include' \ >>> LDFLAGS='-L/your/ssl/lib -Wl,-rpath,/my/ssl/lib' \ >>>

Re: Dovecot 2.2.25 fails on SSL

2016-09-19 Thread Joseph Tam
"Andreas M. Kirchwitz" writes: OK, the origin of your problem becomes clearer. You can hardcode these paths into the executables by doing something like env CFLAGS='-I/my'ssl/include' \ LDFLAGS='-L/your/ssl/lib -Wl,-rpath,/my/ssl/lib' \

Re: Dovecot 2.2.25 fails on SSL

2016-09-19 Thread Andreas M. Kirchwitz
Joseph Tam wrote: >> For every program I compile myself, I link it against my custom >> OpenSSL library (always newest version; distributions usually tend >> to stick with a specific version and only apply security fixes). > > OK, the origin of your problem becomes clearer.

Re: Dovecot 2.2.25 fails on SSL

2016-09-08 Thread Joseph Tam
Andreas M. Kirchwitz writes: You can also affect where shared libraries are loaded using the LD_LIBRARY_PATH environment variable. Try adding LD_LIBARY_PATH=/location/of/libdir; export LD_LIBARY_PATH to your service boot scripts. Thanks for the advice. It's fine for a temporary

Re: Dovecot 2.2.25 fails on SSL

2016-09-05 Thread Edgar Pettijohn
Do you have multiple OpenSSL's installed? Sent from my iPhone > On Sep 5, 2016, at 10:38 PM, Michael A. Peters wrote: > > > >> On 09/02/2016 12:50 PM, Joseph Tam wrote: >> Aki Tuomi wrote: >> >> ldd /usr/local/Dovecot-2.2.25/lib/dovecot/libdcrypt_openssl.so

Re: Dovecot 2.2.25 fails on SSL

2016-09-05 Thread Michael A. Peters
On 09/02/2016 12:50 PM, Joseph Tam wrote: Aki Tuomi wrote: ldd /usr/local/Dovecot-2.2.25/lib/dovecot/libdcrypt_openssl.so linux-gate.so.1 => (0x00dca000) libcrypto.so.1.0.0 => not found ... Well, then it leaves only option of using /etc/ld.so.conf so basically add your

Re: Dovecot 2.2.25 fails on SSL

2016-09-05 Thread Andreas M. Kirchwitz
Joseph Tam wrote: > You can also affect where shared libraries are loaded using the > LD_LIBRARY_PATH environment variable. Try adding > > LD_LIBARY_PATH=/location/of/libdir; export LD_LIBARY_PATH > > to your service boot scripts. Thanks for the advice. It's fine for

Re: Dovecot 2.2.25 fails on SSL

2016-09-02 Thread Joseph Tam
Aki Tuomi wrote: ldd /usr/local/Dovecot-2.2.25/lib/dovecot/libdcrypt_openssl.so linux-gate.so.1 => (0x00dca000) libcrypto.so.1.0.0 => not found ... Well, then it leaves only option of using /etc/ld.so.conf so basically add your libssl location there. You can also affect

Re: Dovecot 2.2.25 fails on SSL

2016-09-02 Thread Andreas M. Kirchwitz
Aki Tuomi wrote: > Well, then it leaves only option of using /etc/ld.so.conf > so basically add your libssl location there. That's not a working solution and not the purpose of /etc/ld.so.conf. Currently, this is a real-life security issue in Dovecot 2.2.25, because it

Re: Dovecot 2.2.25 fails on SSL

2016-09-02 Thread Aki Tuomi
> On September 2, 2016 at 5:35 PM "Andreas M. Kirchwitz" > wrote: > > > Aki Tuomi wrote: > > > Well, then it leaves only option of using /etc/ld.so.conf > > so basically add your libssl location there. > > That's not a working solution and not the

Re: Dovecot 2.2.25 fails on SSL

2016-09-02 Thread Aki Tuomi
> On September 2, 2016 at 4:56 AM "Andreas M. Kirchwitz" > wrote: > > > Aki Tuomi wrote: > > >> ldd /usr/local/Dovecot-2.2.25/lib/dovecot/libssl_iostream_openssl.so > >> linux-gate.so.1 => (0x00e8c000) > >> libcrypto.so.1.0.0 => not

Re: Dovecot 2.2.25 fails on SSL

2016-09-01 Thread Andreas M. Kirchwitz
Aki Tuomi wrote: >> ldd /usr/local/Dovecot-2.2.25/lib/dovecot/libssl_iostream_openssl.so >> linux-gate.so.1 => (0x00e8c000) >> libcrypto.so.1.0.0 => not found >> libssl.so.1.0.0 => not found >> librt.so.1 => /lib/librt.so.1 (0x00be4000) >>

Re: Dovecot 2.2.25 fails on SSL

2016-08-08 Thread Aki Tuomi
On 04.07.2016 02:42, Andreas M. Kirchwitz wrote: > Dear Dovecot developers! > > This problem already existed some years ago, has been fixed, > and now it's there again in Dovecot 2.2.25 (2.2.24 was fine). > > I'm running CentOS 6 with a custom OpenSSL installation in /usr/local/ssl >

Re: Dovecot 2.2.25 fails on SSL

2016-07-11 Thread Aki Tuomi
On 04.07.2016 02:42, Andreas M. Kirchwitz wrote: > Dear Dovecot developers! > > This problem already existed some years ago, has been fixed, > and now it's there again in Dovecot 2.2.25 (2.2.24 was fine). > > I'm running CentOS 6 with a custom OpenSSL installation in /usr/local/ssl >