Hi! Sorry to generate some traffic, but I would like to share an experience
of installing Courier IMAP 4.1.1 with/without FAM on Linux 2.6.9-1.724_FC3

Things did (almost) compile fine with FAM and we had no problems
with Mozilla 1.7.12 or thunderbird, but, for a remote mail client

   Outlook Express 6 6.00.2900.2180

we had a situtation where server processes would fork and lock up
until the maxiumum number of server processes was reached.

We straced the server processes locked up, and we found out that
they were blocked executing the system call:

   connect(5, {sa_family=AF_FILE, path=@/tmp/fam-...}, 110

(I don't quite recall the path argument).


So I searched a way to recompile without FAM support, but as I did
find nothing practical, the only way I managed it was by doing something like:

cd maildir
make clean
vi Makefile
---- changes to the makefile
#LIBFAM = -lfam
maildir.libdeps: config.status
        echo "" >maildir.libdeps
        #echo -lfam >maildir.libdeps
---- end of changes to the makefile
vi config.h
----- changes to config.h
#define HAVE_FAM 0
----- end of changes to config.h






Another minor detail about compiling into non-standard location.
I compiled and installed authlib under /opt/local/courier-authlib-0.58

  ./configure --prefix=/opt/local/courier-authlib-0.58 --with-redhat
  make
  ...

Then I tryed to compile imapd, by doing

  export COURIERAUTHCONFIG=/opt/local/courier-authlib-0.58/bin/courierauthconfig
  ./configure --prefix=/opt/local/courier-imap-4.1.1 --with-redhat

but I needed to edit imap/Makefile and add -I...path-to-authlib/include

  CFLAGS = -I.. -I./.. -I/opt/local/courier-authlib-0.58/include -Wall -g -O2

And then, things went Ok.

Just seems that the configure process has this small bug
when trying to compile into a new location.

I needed to compile to a non-standard location,
because we need to have multiple separate instances with distinct
versions running at the same time.
We are still running courier imapd 1.3.8.2 with Maildir format
and we are experiencing lots of problems having folders created
with the root UID and duplicating messages moved my Mozilla's Junk filters.
So we are evaluating courier imapd 4.1.1 as an alternative
to dovecot or cyrus.

Just wanted to share these issues, because if they show up on the
FAQ, or if someone can improve the configure/makefiles about these
details, they might save a lot of time to other users.

Joao Luis
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to