4 messages in net.sourceforge.lists.courier-users[courier-users] Re: [courier-announce...
FromSent OnAttachments
Sam VarshavchikApr 12, 2006 5:51 pm 
ma...@intron.acApr 12, 2006 6:37 pm 
Sam VarshavchikApr 12, 2006 7:29 pm 
Matthew WilsonApr 13, 2006 12:48 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Re: [courier-announce] Courier 20060412Actions...
From:Matthew Wilson (matt@shinythings.com)
Date:Apr 13, 2006 12:48:40 am
List:net.sourceforge.lists.courier-users

On Apr 12, 2006, at 5:51 PM, Sam Varshavchik wrote:

Download: http://www.courier-mta.org/download.php

Minor fixes

• Added the koi8-u character set.

• Invoke couriermailfilters in alphabetical order.

• New aliaslookup command line tool.

• Fix LDAP compilation on Solaris.

• SPF records "directive/pfix" weren't parsed properly.

I got build errors under Red Hat 7.3:

Compiling aliasexp.C Linking aliasexp Compiling aliascombine.C Linking aliascombine Compiling aliascreate.C Linking aliascreate cp -f ../webmail/sqwebmaild sqwebmaild Compiling bofh.c Compiling submit.C Compiling submit2.C Compiling submit3.C Compiling cdfilters.C cdfilters.C: In function `void free_filters ()': cdfilters.C:43: `free' undeclared (first use this function) cdfilters.C:43: (Each undeclared identifier is reported only once for each function it appears in.) cdfilters.C: In function `int add_filter (const char *)': cdfilters.C:65: `malloc' undeclared (first use this function) cdfilters.C:72: `realloc' undeclared (first use this function) cdfilters.C: In function `int run_filter (const char *, unsigned int, int, CString (*) (unsigned int, void *), void *)': cdfilters.C:118: `qsort' undeclared (first use this function) make[3]: *** [cdfilters.o] Error 1 make[3]: Leaving directory `/home/mwilson/rpm/BUILD/ courier-0.53.1.20060412/courier' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/mwilson/rpm/BUILD/ courier-0.53.1.20060412/courier' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/mwilson/rpm/BUILD/ courier-0.53.1.20060412/courier' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.29820 (%build)

RPM build errors: Bad exit status from /var/tmp/rpm-tmp.29820 (%build)

I added an include to stdlib.h in courier/cdfilters.C and it seems to be working now:

+++ courier/cdfilters.C Thu Apr 13 00:31:25 2006 @@ -12,6 +12,7 @@ #if HAVE_UNISTD_H #include <unistd.h> #endif +#include <stdlib.h> #include <errno.h> #include <ctype.h> #include "mydirent.h"