On Sun, 11 Jan 2004 01:33:14 -0500 Sam Varshavchik <[EMAIL PROTECTED]> wrote:
Download: http://www.courier-mta.org/download.php
Beta releases of the next major version of Courier and Courier-IMAP are available for testing. New in the next release are virtual shared folders, and access control lists.
I didn't succeed to build this release on a Debian woody system:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I./.. -Wall -lcrypt -c `test -f 'imapd.c' || echo './'`imapd.c imapd.c: In function `aclstore': imapd.c:3296: parse error before `char' imapd.c:3298: `acl_rights' undeclared (first use in this function) imapd.c:3298: (Each undeclared identifier is reported only once imapd.c:3298: for each function it appears in.) make[3]: *** [imapd.o] Error 1
I installed libacl1 and acl-dev packages.
You don't need to install any acl packages. This error is due to a gcc-ism. Here's the fix.
pgp00000.pgp
Description: PGP signatureIndex: imap/imapd.c =================================================================== RCS file: /cvsroot/courier/courier/imap/imap/imapd.c,v retrieving revision 1.114 diff -U3 -r1.114 imapd.c --- imap/imapd.c 11 Jan 2004 02:47:32 -0000 1.114 +++ imap/imapd.c 11 Jan 2004 18:09:13 -0000 @@ -3293,6 +3293,7 @@ if (acl_settable_folder(mailboxes[i].mailbox, &mi)) continue; + { CHECK_RIGHTSM(mailboxes[i].mailbox, acl_rights, ACL_ADMINISTER); @@ -3306,6 +3307,7 @@ mailbox_info_destroy(&mi); mailboxes[i].mailbox[0]=0; continue; + } } if (acl_read_folder(&aclt_list, mi.homedir, mi.maildir))pgp00001.pgp
Description: PGP signature