Exim Upgrade ?

rpm -ihv means installing the new version.
rpm -Uhv means updating from previous version. Perhaps that'll work. (although I won't be responsible if it doesn't work out right)

edit:
Hello,

exiscan is compiled with all 4.34 versions.

John
Is it safe to install this over a MailScanner&SpamAssassin&ClamAV 'structure' ?

Will the new config automatically start scanning for spam/virusses without MailScanner stuff ?
 
Last edited:
Okay, I feel dumb :) How do I updgrade exim on FreeBSD using the pretty precompiled versions posted here? pkg_update will delete 4.24 but doesn't find 4.34 even it I toss it in /usr/ports/packages. Am I making this too difficult like always? :confused:
 
LyricTung said:
Okay, I feel dumb :) How do I updgrade exim on FreeBSD using the pretty precompiled versions posted here? pkg_update will delete 4.24 but doesn't find 4.34 even it I toss it in /usr/ports/packages. Am I making this too difficult like always? :confused:
yea
can have some easy how-to about how can upgrade in freebsd exim, phpmyadmin and any other future updates from http://files.directadmin.com/services/freebsd4.8/ ?
Thanks
Christos
 
If anyone doing this upgrade in FreeBSD is running their /tmp directory as nosuid,noexec just remember to run:

export PKG_TMPDIR=/tmpdir/somewhere

or it won't work and you will get an error along the lines of:

./+INSTALL: permission denied
pkg_add: install script returned error status

I just thought I would point this out so nobody wastes and hour like me trying to work out what was wrong.

Other than that it worked fine on FreeBSD 4.9 :)


vetrun
 
Hello,

# uname -v
FreeBSD 4.10-RELEASE #3: Sun Jun 6 19:49:16 EDT 2004 [email protected]:/usr/obj/usr/src/sys/KAMSEL

No problems here, thanks John!


Kamsel
 
Last edited:
DirectAdmin Support said:
I've posted the source rpm here:
http://files.directadmin.com/services/da_exim-4.34-1.src.rpm

If anyone wants it *now*, you can run:
wget http://files.directadmin.com/services/da_exim-4.34-1.src.rpm
rpm -ivh da_exim-4.34-1.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -ba exim.spec


John [/B]

rpmbuild doesn't work at all on my RH9 system.

Code:
gcc -c -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE  -o exim_dbmbuild.o exim_dbmbuild.c
In file included from exim.h:379,
                 from exim_dbmbuild.c:31:
dbstuff.h:101:16: db.h: No such file or directory
In file included from exim.h:379,
                 from exim_dbmbuild.c:31:
dbstuff.h:527: parse error before "DB"
dbstuff.h:527: warning: no semicolon at end of struct or union
dbstuff.h:529: parse error before '}' token
dbstuff.h:529: warning: data definition has no type or storage class
In file included from exim.h:383,
                 from exim_dbmbuild.c:31:
dbfunctions.h:11: parse error before '*' token
dbfunctions.h:12: parse error before '*' token
dbfunctions.h:13: parse error before '*' token
dbfunctions.h:13: parse error before "open_db"
dbfunctions.h:13: warning: data definition has no type or storage class
dbfunctions.h:14: parse error before '*' token
dbfunctions.h:15: parse error before '*' token
dbfunctions.h:16: parse error before '*' token
exim_dbmbuild.c: In function `main':
exim_dbmbuild.c:142: `DB' undeclared (first use in this function)
exim_dbmbuild.c:142: (Each undeclared identifier is reported only once
exim_dbmbuild.c:142: for each function it appears in.)
exim_dbmbuild.c:142: `d' undeclared (first use in this function)
exim_dbmbuild.c:143: `DBT' undeclared (first use in this function)
exim_dbmbuild.c:143: parse error before "key"
exim_dbmbuild.c:196: `DB_HASH' undeclared (first use in this function)
exim_dbmbuild.c:276: `content' undeclared (first use in this function)
exim_dbmbuild.c:279: `key' undeclared (first use in this function)
exim_dbmbuild.c:279: `R_NOOVERWRITE' undeclared (first use in this function)
make[1]: *** [exim_dbmbuild.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/da_exim-4.34/build-Linux-i386'
make: *** [go] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.23173 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.23173 (%build)
 
Try the rpm --rebuild method i posted above and see if that works.

Chris
 
I did try that first, but got a strange error (I'm not using RH at the office and never got that error) :
"--rebuild: unknown option"
 
Looks like you don't have the db devel package installed. Try installing db4-devel and that should include the db.h that you are missing.
 
DirectAdmin Support said:

I've posted the source rpm here:
http://files.directadmin.com/services/da_exim-4.34-1.src.rpm
...
Remeber, it's *new* so the may be bugs (exim.pl mainly).

John

I took the plunge and tested this out on my laptop first then when I thought everything was working fine I moved it to my server. The only problem I had at all with this was the addition of:
condition = "${if eq {$domain} {$primary_hostname} {yes} {no}}"
to the localuser director. It prevented any of my system users (ones listed in /etc/passwd) from accepting emails. When I removed that condition, to make it look like the 4.24 version of localuser it worked fine.

I have been monitoring my system closely since I installed it two days ago, and I must say that the amount of spam getting through is reduced by quite a lot. I implemented DSPAM instead of Spam Assassin and that has caught what little spam that made it through. Good job.
 
cth3 said:
It ran fine, no problems at all
The end of the build should look like the following:
Wrote: /usr/src/redhat/SRPMS/da_exim-4.34-1.src.rpm
Wrote: /usr/src/redhat/RPMS/i386/da_exim-4.34-1.i386.rpm
Wrote: /usr/src/redhat/RPMS/i386/da_exim-debuginfo-4.34-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.27327
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd da_exim-4.34
+ rm -rf /var/tmp/buildexim.fG5iR2/da_exim-4.34-root

If you don't see the Wrote: line creating the files in the RPMS/i386 directory then it did not build properly. If you do, then the files should be there.
 
error: Bad exit status from /var/tmp/rpm-tmp.74824 (%doc)
Processing files: da_exim-debuginfo-4.34-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.74824 (%doc)
 
Hi ,

If anyone knows exactly how to integrate eximscan with clam
or f-prot wich is also free then please do ,

I must say that exim doesnt look good with mailscanner at all
too much configuration realy , i installed mailscanner with sendmail in 2 minuts and im not that good with nix's , its working fine , i gave it 4 days for testing on exim end all kinds of problems came from not scanning to not getting mail at all .

Eximscan on the other hand looks greate , but has no faqs to begin with .

If anyone pluged it in successfully then a post on that will be greatly apruciated .

<>>>>>

EDIT :

Exim 4.32(the rpm jhon posted) plus the ACL extentions work fine . Without scanning for viruses thought .
 
Back
Top