X-Spam-Check-By: sourceware.org
Content-Disposition: inline
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
From: Marek Telgarsky <marek@telgarsky.com>
To: cygwin@cygwin.com
Subject: courier auth+imap
Reply-To: marek@telgarsky.com
X-Origin: 67.171.77.114
Date: Sat, 30 Sep 2006 18:36:03 -0500
Message-Id: <33714.1159659363@telgarsky.com>
X-Mailer: SiteMail 5.6 - 67.171.77.114 - telgarsky@telgarsky.com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k8UNaNUg013534

Hello,

I've been able to compile Courier auth+imap under Cygwin. This is 
courier-authlib-0.58 and courier-imap-4.1.1.20060630.
Some details from the compile:

Besides the more obvious packages like gcc, perl, etc, courier-auth requires the
minires-devel package.

for auth:
./configure --with-mailuser=SYSTEM --with-mailgroup=SYSTEM --with-db=gdbm

for imap:
./configure --with-waitfunc=wait --disable-auth-check --with-db=gdbm

Prior to make, I had to change the ./makedat/Makefile in each project. The
following line:

noinst_PROGRAMS = makedatprog

has to be:

noinst_PROGRAMS = makedatprog$(EXEEXT)

Also, in the main Makefile for courier-imap, the following lines:

binPROGRAMS = imapd pop3d maildirmake maildiracl deliverquota maildirkw
sbinPROGRAMS = imaplogin pop3login
libexecPROGRAMS = makedatprog couriertcpd

need a $(EXEEXT) after each executable name.

Finally, I had some problems in the ./courier-imap*/tcpd directory where certain
files were not linking with -lgdbm.

'make install' for each also works, and puts stuff into /usr/local/ and
/usr/lib/courier-imap.

This leads me to actually running the server, and my question for the list: Does
anyone have experience with that under Cygwin? 

Things (like the auth daemon) seem to be failing silently.

Thanks,
Marek




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


