Exim 4.65 Released

mmx

Verified User
Joined
May 8, 2005
Messages
130
Location
Montreal, QC
Download Exim 4.65. Here's the changelog. Some small bug fixes it seems, nothing crazy!

For FreeBSD 5.x/6.x users, update Exim as follows (when the file is available from DA):

# cp /etc/exim.conf /etc/exim.conf.bak
# fetch http://files.directadmin.com/services/freebsd5.1/da_exim-4.65-1.tgz
# pkg_delete exim-4.xx-x
# pkg_add da_exim-4.65-1.tgz

Note: If you have Dovecot, you may need to apply some patches on your exim.conf file after the update.

Restart Exim through DA control panel or from the command prompt as so:

# /usr/local/etc/rc.d/exim restart
 
thank you

changelog
Exim version 4.65
-----------------

TK/01 Disable default definition of HAVE_LINUX_SENDFILE. Clashes with
Linux large file support (_FILE_OFFSET_BITS=64) on older glibc
versions. (#438)

MH/01 Don't check that the operands of numeric comparison operators are
integers when their expansion is in "skipping" mode (fixes bug
introduced by 4.64-PH/07).

PH/01 If a system filter or a router generates more than SHRT_MAX (32767)
child addresses, Exim now panics and dies. Previously, because the count
is held in a short int, deliveries were likely to be lost. As such a
large number of recipients for a single message is ridiculous
(performance will be very, very poor), I have chosen to impose a limit
rather than extend the field.

****

You can try this howto for centos or similar

wget ftp://ftp.exim.org/pub/exim/exim4/exim-4.65.tar.gz
tar xvzf exim-4.65.tar.gz
cd exim-4.65/Local
wget http://www.directadmin.com/Makefile
perl -pi -e 's/^EXTRALIBS/#EXTRALIBS/' Makefile
cd ..
make
make install
cp -f /usr/sbin/exim-4.65-1 /usr/sbin/exim

type in y to force copy

chmod 4755 /usr/sbin/exim
service exim restart
exim -bV

(should indicate 4.65 version)
if yes you can delete sources

cd ..
rm -rf exim*

Worked on all my servers.
 
Last edited:
Error.

Im getting errors while following the CentOS Howto guide.

Code:
[root@c2b Local]# perl -pi -e 's/^EXTRALIBS/#EXTRALIBS/' Makefile
[root@c2b Local]# cd ..
[root@c2b exim-4.65]# make

>>> Creating links to source files...
>>> New Makefile installed
>>> Use "make makefile" if you need to force rebuilding of the makefile

make[1]: Entering directory `/root/exim-4.65/build-Linux-athlon'
/bin/sh ../scripts/Configure-os.h
/bin/sh ../scripts/Configure-os.c
gcc buildconfig.c
/bin/sh ../scripts/Configure-config.h "make"
make[2]: Entering directory `/root/exim-4.65/build-Linux-athlon'
make[2]: `buildconfig' is up to date.
make[2]: Leaving directory `/root/exim-4.65/build-Linux-athlon'
Building configuration file config.h
>>> config.h built

make[2]: Entering directory `/root/exim-4.65/build-Linux-athlon/pcre'
gcc pcre_maketables.c
gcc dftables.c
./dftables chartables.c
gcc chartables.c
gcc pcre_fullinfo.c
gcc pcre_get.c
gcc pcre_globals.c
gcc pcre_compile.c
gcc pcre_config.c
gcc pcre_exec.c
gcc pcre_study.c
gcc pcre_tables.c
gcc pcre_try_flipped.c
gcc pcre_version.c
rm -f libpcre.a
ar cq libpcre.a
ranlib libpcre.a
gcc pcretest.c
gcc -o ../pcretest pcretest.o libpcre.a
make[2]: Leaving directory `/root/exim-4.65/build-Linux-athlon/pcre'

>>> exicyclog script built
>>> exinext script built
>>> exiwhat script built
>>> exigrep script built
>>> eximstats script built
>>> exipick script built
>>> exiqgrep script built
>>> exiqsumm script built
>>> transport-filter.pl script built
>>> convert4r3 script built
>>> convert4r4 script built
>>> exim_checkaccess script built

gcc exim_dbmbuild.c
In file included from exim.h:433,
                 from exim_dbmbuild.c:33:
dbstuff.h:103:16: db.h: No such file or directory
In file included from exim.h:433,
                 from exim_dbmbuild.c:33:
dbstuff.h:529: error: syntax error before "DB"
dbstuff.h:529: warning: no semicolon at end of struct or union
dbstuff.h:531: error: syntax error before '}' token
dbstuff.h:531: warning: data definition has no type or storage class
In file included from exim.h:437,
                 from exim_dbmbuild.c:33:
dbfunctions.h:13: error: syntax error before '*' token
dbfunctions.h:14: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before "open_db"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: error: syntax error before '*' token
dbfunctions.h:17: error: syntax error before '*' token
dbfunctions.h:18: error: syntax error before '*' token
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:150: error: `DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: `d' undeclared (first use in this function)
exim_dbmbuild.c:151: error: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: syntax error before "key"
exim_dbmbuild.c:213: error: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:295: error: `content' undeclared (first use in this function)
exim_dbmbuild.c:298: error: `key' undeclared (first use in this function)
exim_dbmbuild.c:298: error: `R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/root/exim-4.65/build-Linux-athlon'
make: *** [go] Error 2
[root@c2b exim-4.65]# make install

Installation directory is /usr/sbin


*** /root/exim-4.65/build-Linux-athlon/exim does not exist or is empty
*** Have you built Exim successfully?
*** Exim installation failed ***
make: *** [install] Error 1
[root@c2b exim-4.65]#

How can I fix this?
 
Re: Error.

jcws649 said:
Im getting errors while following the CentOS Howto guide.

Code:
gcc exim_dbmbuild.c
In file included from exim.h:433,
                 from exim_dbmbuild.c:33:
dbstuff.h:103:16: db.h: No such file or directory
In file included from exim.h:433,
                 from exim_dbmbuild.c:33:
dbstuff.h:529: error: syntax error before "DB"
dbstuff.h:529: warning: no semicolon at end of struct or union
dbstuff.h:531: error: syntax error before '}' token
dbstuff.h:531: warning: data definition has no type or storage class
In file included from exim.h:437,
                 from exim_dbmbuild.c:33:
dbfunctions.h:13: error: syntax error before '*' token
dbfunctions.h:14: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before '*' token
dbfunctions.h:15: error: syntax error before "open_db"
dbfunctions.h:15: warning: data definition has no type or storage class
dbfunctions.h:16: error: syntax error before '*' token
dbfunctions.h:17: error: syntax error before '*' token
dbfunctions.h:18: error: syntax error before '*' token
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:150: error: `DB' undeclared (first use in this function)
exim_dbmbuild.c:150: error: (Each undeclared identifier is reported only once
exim_dbmbuild.c:150: error: for each function it appears in.)
exim_dbmbuild.c:150: error: `d' undeclared (first use in this function)
exim_dbmbuild.c:151: error: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:151: error: syntax error before "key"
exim_dbmbuild.c:213: error: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:295: error: `content' undeclared (first use in this function)
exim_dbmbuild.c:298: error: `key' undeclared (first use in this function)
exim_dbmbuild.c:298: error: `R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/root/exim-4.65/build-Linux-athlon'
make: *** [go] Error 2
[root@c2b exim-4.65]# make install

Installation directory is /usr/sbin


*** /root/exim-4.65/build-Linux-athlon/exim does not exist or is empty
*** Have you built Exim successfully?
*** Exim installation failed ***
make: *** [install] Error 1
[root@c2b exim-4.65]#

How can I fix this?

yum install db4 db4-devel (or yum install db4*)

then you should be able to make without errors
 
Re: Re: Error.

Ramsy said:
yum install db4 db4-devel (or yum install db4*)

then you should be able to make without errors


Works perfect. :D

Thank you.
 
src RPM is now up:

http://files.directadmin.com/services/da_exim-4.65-1.src.rpm

and no you can't just simply rpm -Uvh a src (stands for source) rpm. You need to compile first on red hat enterprise you would use rpmbuild --rebuild da_exim...etc.

I think it's different on CENTOS, search the forums, after that it will create a proper binary rpm you can use rpm -Uvh to install.
 
Last edited:
Will the .deb packages ever be uploaded? I saw that the 4.64 version has never been released in .deb packages... :(
 
Back
Top