[Mimedefang] MIMEDefang 2.20-BETA-1 (Performance enhancement)

Marco Berizzi pupilla at hotmail.com
Thu Aug 29 11:22:01 EDT 2002


Same problem:

----- Original Message -----
From: "Marco Berizzi" <pupilla at hotmail.com>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Tuesday, August 27, 2002 5:21 PM
Subject: mimedefang build


> I have found a strange behaviour in the configure script.
> This is my mimedefang.build
>
> ./configure \
>        --disable-antivir \
>        --disable-uvscan \
>        --disable-sweep \
>        --disable-trend \
>        --disable-AvpLinux \
>        --disable-clamav \
>        --disable-nvcc \
>        --disable-fsav \
>        --disable-rav \
>        --disable-fprot \
>        --disable-sophie \
>        --prefix=/usr \
>        --sysconfdir=/etc \
>        --localstatedir=/var \
>        i386-slackware-linux
>
> And this is the output:
>
> loading cache ./config.cache
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
> checking for perl... (cached) /usr/bin/perl
> checking whether socklen_t is defined... yes
> checking for nm... (cached) /usr/bin/nm
> checking for Perl module IO::Socket... ok
> checking for Perl module MIME::Tools 5.410 ()... ok
> checking for Perl module MIME::WordDecoder... ok
> checking for Perl module Digest::SHA1... ok
> checking for Perl module Sys::Syslog... ok
> checking that MIME-Tools has been patched... yes
> checking for Perl module Mail::SpamAssassin 1.6 or better... ok
> checking for Perl module Anomy::HTMLCleaner... ok
> checking for Perl module HTML::Parser... no
> checking for Perl module File::Scan... ok
> checking how to run the C preprocessor... (cached) gcc -E
> checking for getopt.h... (cached) yes
> checking for unistd.h... (cached) yes
> checking whether sig_atomic_t is defined... yes
> checking whether gcc accepts -pthread... yes
> checking for res_init in -lresolv... (cached) no
> checking for htons in -lsocket... (cached) no
> checking for gethostbyname in -lnsl... (cached) yes
> checking for pthread_once in -lpthread... (cached) yes
> checking for initgroups... (cached) yes
> checking for getpwnam_r... (cached) yes
> checking for setrlimit... (cached) yes
> checking for libmilter/mfapi.h... (cached)
> ../sendmail-8.12.2/include/libmilter/mfapi.h
> checking for libmilter.a... (cached)
> ../sendmail-8.12.2/obj.Linux.2.4.17.i686/libmilter/libmilter.a
> checking for sendmail... (cached) /usr/sbin/sendmail
> checking for rm... (cached) /bin/rm
>
> creating ./config.status
> creating Makefile
> creating mimedefang.pl
> creating examples/init-script
> creating mimedefang-filter.5
> creating mimedefang-multiplexor.8
> creating mimedefang-protocol.7
> creating mimedefang.8
> creating mimedefang.pl.8
> creating config.h
> config.h is unchanged
>
> *** Virus scanner detection results:
> RAV    'ravav'       NO (Disabled by configure command)
> H+BEDV 'antivir'     NO (Disabled by configure command)
> NAI    'uvscan'      NO (Disabled by configure command)
> Sophos 'sweep'       NO (Disabled by configure command)
> TREND  'vscan'       NO (Disabled by configure command)
> CLAMSCAN 'clamav'    NO (Disabled by configure command)
> AVP    'AvpLinux'    YES -
> FSAV   'fsav'        NO (Disabled by configure command)
> FPROT  'f-prot'      NO (Disabled by configure command)
> SOPHIE 'sophie'      NO (Disabled by configure command)
> NVCC   'nvcc'        NO (Disabled by configure command)
> File::Scan           YES
>
> Found Mail::SpamAssassin.  You may use spam_assassin_* functions
> Found Anomy::HTMLCleaner.  You may use anomy_clean_html()
> Did not find HTML::Parser.  Do not use append_html_boilerplate()
> ...
>
> I don't understand why AVPLinux is YES.
>
> If I comment the  --disable-AvpLinux from the
> build script all is OK: the configure script verify the
> non-existence and set it to AVP    'AvpLinux' to NO
>
>
>
----- Original Message -----
From: "David F. Skoll" <dfs at roaringpenguin.com>
To: <mimedefang at lists.roaringpenguin.com>
Sent: Thursday, August 29, 2002 4:55 PM
Subject: [Mimedefang] MIMEDefang 2.20-BETA-1 (Performance enhancement)


> Hi,
>
> MIMEDefang 2.20-BETA-1 is available at:
>
> http://www.roaringpenguin.com/mimedefang/mimedefang-2.20-BETA-1.tar.gz
>
> This is a performance-improving release.  Previously, mimedefang.c
> forked and exec'd "/bin/rm" to clean up the work directory.  I have
> re-implemented this in C so that no forking/execing is required.  This
> can improve performance on systems where it's expensive to fork a
> multithreaded process.  With this implementation, and the right filter
> rules, MIMEDefang can operate without forking and execing at all
(except
> when starting new slaves.)
>
> It should help a lot on busy servers.  I'm looking for people with
> busy servers to test this.  Also, if you read C code, please
> take a look at "rm_r.c" which implements the recursive deletion and
check
> it for sanity.  It looks good to me, but it's easy to make subtle
mistakes...
>
> Complete changelog since 2.19 follows.
>
> Regards,
>
> David.
>
> 2002-08-29  David F. Skoll  <dfs at roaringpenguin.com>
>
> * mimedefang.c (cleanup): Use an internal C implementation of
> "rm -r" rather than forking and execing /bin/rm.  This should
> improve performance on heavily-loaded systems.
>
> 2002-08-25  David F. Skoll  <dfs at roaringpenguin.com>
>
> * configure.in: Added --with-user=LOGIN configure-time option.
> We do not check for existence of this user at configure-time,
> because it would complicate building of RPM.
>
> * RPM creates "defang" user when installed.
>
> * Cleaned up configure script to use AC_MSG_xxx instead of echo
> in a lot of places.
>
> _______________________________________________
> MIMEDefang mailing list
> MIMEDefang at lists.roaringpenguin.com
> http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
>



More information about the MIMEDefang mailing list