[Greylist-users] Install problem and Discrepency in libmilter.a file size

Evan Harris eharris at puremagic.com
Mon Nov 17 10:16:22 PST 2003


Another possible problem may be if for some reason sendmail isn't exporting
the "standard" macros that the milter uses.  For the macro's used, look at
the parameter to all the getsymval() calls.

Evan


On Mon, 17 Nov 2003, Keith wrote:

> Thanks to Albert Whale who confirmed greylisting works with
> sendmail-8.12.10.
> and Evan Harris for suggesting the problem is with my libmilter library.
> I verified
> by recompiling my libmilter library thus:
> *************************************
> [root at computer]# cd /usr/src/sendmail-8.12.10/libmilter
> [root at computer libmilter]# ./Build -c
> Configuration: pfx=, os=Linux, rel=2.4.20-20.7, rbase=2,
> rroot=2.4.20-20, arch=i686, sfx=, variant=optimized
> Clearing out existing
> /usr/src/sendmail-8.12.10/obj.Linux.2.4.20-20.7.i686/libmilter tree
> Using M4=/usr/bin/m4
> Creating /usr/src/sendmail-8.12.10/obj.Linux.2.4.20-20.7.i686/libmilter
> using /usr/src/sendmail-8.12.10/devtools/OS/Linux
> Including /usr/src/sendmail-8.12.10/devtools/Site/site.config.m4
> Making dependencies in
> /usr/src/sendmail-8.12.10/obj.Linux.2.4.20-20.7.i686/libmilter
> ln -f -s ../../libsm/errstring.c .
> ln -f -s ../../libsm/strl.c .
> rm -f sm_os.h
> ln -f -s ../../include/sm/os/sm_os_linux.h sm_os.h
> cc -M -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT main.c engine.c listener.c
> handler.c comm.c smfi.c signal.c sm_gethost.c errstring.c strl.c    >>
> Makefile
> Making in /usr/src/sendmail-8.12.10/obj.Linux.2.4.20-20.7.i686/libmilter
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o main.o main.c
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o engine.o engine.c
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o listener.o
> listener.c
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o handler.o handler.c
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o comm.o comm.c
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o smfi.o smfi.c
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o signal.o signal.c
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o sm_gethost.o
> sm_gethost.c
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o errstring.o
> errstring.c
> cc -O2 -I. -I../../sendmail   -I../../include  -DNOT_SENDMAIL
> -Dsm_snprintf=snprintf  -D_REENTRANT -DXP_MT   -c -o strl.o strl.c
> ar crv libmilter.a main.o engine.o listener.o handler.o comm.o smfi.o
> signal.o sm_gethost.o errstring.o strl.o
> a - main.o
> a - engine.o
> a - listener.o
> a - handler.o
> a - comm.o
> a - smfi.o
> a - signal.o
> a - sm_gethost.o
> a - errstring.o
> a - strl.o
> ranlib  libmilter.a
> ****************************
> So far so good, but I still get the same output running relaydelay
> and Albert's libmilter.a is slightly bigger than mine:
> ********** my libmilter.a ***************
> -rw-r--r--    1 root     root        47792 Nov 17 10:46
> /usr/src/sendmail-8.12.10/obj.Linux.2.4.20-20.7.i686/libmilter/libmilter
> .a
>
> ********** Albert Whales' libmilter.a ******
> -rw-------    1 root     root        50160 Sep 22 23:25
> /usr/src/MIMEDefang/sendmail-8.12.10/obj.Linux.2.4.19-35mdkenterprise.i6
> 86/libmilter/libmilter.a
>
> His works and mine doesn't. What am I missing here?
> Needing more clues thanks - Keith
>
>
>



More information about the Greylist-users mailing list