Hi all,
I am a student trying to set up Courier IMAP over SSL for a project where
I'm trying to exploit some bugs OpenSSL, but I've run into problems and am
really hoping someone here would know what to do.
To start with I removed Openssl 0.9.8g that came with Ubuntu 8.10 and
downloaded and installed OpenSSL 0.9.6c from source. When I telnet to port
993 the connection is closed immediately and in /var/log/syslog I see a line
*"imap-ssl: /usr/lib/courier-imap/bin/couriertls: No such file or directory"
*.
I've read some of the mail archives in which Sam mentions that its either
because OpenSSL is not installed or that its libraries are static. I've made
sure that .so libraries were created.
I've also tried building just couriertls like this:
*$ cd <courier-source-dir>/tcpd
$ make distclean
$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/ssl/lib
$ export LD_RUN_PATH=${LD_RUN_PATH}:/usr/local/ssl/lib
$ export C_INCLUDE_PATH=${C_INCLUDE_PATH}:/usr/local/ssl/lib
$ export LDFLAGS="${LDFLAGS} -L/usr/local/ssl/lib
-Wl,--rpath=/usr/local/ssl/lib"
$ export CC="gcc -L/usr/local/ssl/lib -Wl,--rpath=/usr/local/ssl/lib"
$ ./configure
$ make couriertls
$ cp ./couriertls /usr/local/courier/bin (as root) *

I ofcourse get errors at *make couriertls*, one of them being
*libcouriertls.h:26:25:
error: openssl/ssl.h: No such file or directory.*
I have made sure to even cp the .so files to the directories that it might
be looking in.
What am I doing wrong? I don't know if its the fact that I don't have the
"development package" because I've done this before (OpenSSL 0.9.6c) and it
has worked. To the best of my knowledge I'm doing exactly what I did before
to make it work but to no avail. If its courier not finding the .h files or
something please do advise what to do next.
I'm hoping someone has had a similar problem before and got past it.

Best regards,
Shehab.
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to