View Full Version : Exim Upgrade ?
jeffery
06-06-2004, 11:06 PM
Exim is now upgraded to 4.34,
but i want to ask if DA uses a DA-Specific Exim version?
Or, it's only a RPM upgrade?
Thanks~:)
vandal
06-07-2004, 12:13 AM
i am interested in this as well, on the exim homepage it says somthing about a security update.
i noticed exim is installed as da_exim rpm, so what is the best way to go about keeping exim updated and not interfering with any functionality...
l0rdphi1
06-07-2004, 08:55 AM
I *believe* DA's exim is the standard exim version.. I do not *think* there is anything special to it. Of course, I do not really know either :)
jeffery
06-07-2004, 09:05 AM
I have found some RPM version of Exim, but they cannot be installed due to dependency error..
ProWebUK
06-07-2004, 11:58 AM
Give me until tomorrow/wednesday and will have releases for all redhat versions.
Chris
jeffery
06-07-2004, 08:17 PM
Appreciated! :)
sysadm
06-08-2004, 04:55 AM
Originally posted by ProWebUK
Give me until tomorrow/wednesday and will have releases for all redhat versions.
Chris
And FreeBSD...? :)
The better would be to let us now what was changed in default exim version. In this way everyone will be able to compile own Exim which will work with DA... I tried to investigate and checked it myself, but you're providing only recompiled exim binaries in DA packages.
Please think about my idea.
Regards,
sysadm
I am wondering.. why do you all want to update exim..?
"If it ain't broke, don't fix it"
By the way, DA's exim config is NOT affected by the exim security problem which was discovered lately.
vandal
06-08-2004, 05:36 PM
it's in good practice to stay updated. plus i was not aware that security flaw does not affect DA, i would like to see some proof as to why. also if you check the change log there are a lot of bug fixes.
jeffery
06-08-2004, 07:51 PM
Yes.
Upgrading your software means caring your box. Staying up to date can make your box work more efficient too.
There are some program that you *HAVE TO* stay updated.
---> DirectAdmin. :)
nobaloney
06-09-2004, 07:17 AM
If you read exim-users (see here (http://www.exim.org/mailman/listinfo/exim-users)), or exim-announce (see here (http://www.exim.org/mailman/listinfo/exim-announce)), you can decide for yourself which new versions of exim are important enough for you to upgrade.
You'll also see that the pace of exim moves very quickly, and perhaps because of that, occasionally new bugs are introduced.
We generally wait a while before updating exim, unless there's a good reason why an immediate update is required.
Jeff
DirectAdmin Support
06-15-2004, 10:35 AM
We'll be posting the new exim rpm's soon. They contain Jeff's exim.conf and our new exim.pl, well as exim 4.34 and the exiscan patch (should anyone want to use it).
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
cd ../RPMS/i386
rpm -ivh da_exim-4.34-1.i386.rpm
Remeber, it's *new* so the may be bugs (exim.pl mainly).
John
ProWebUK
06-15-2004, 10:40 AM
Or oven easier ;)
wget http://files.directadmin.com/services/da_exim-4.34-1.src.rpm
rpm --rebuild da_exim-4.34-1.src.rpm
Chris
jeffery
06-15-2004, 10:43 AM
Guys,
Don't forget the FreeBSD families. =)
rhoekman
06-16-2004, 02:29 AM
I believe John is working on it?
DirectAdmin Support
06-17-2004, 11:51 AM
FreeBSD's are already ported, packed and uploaded, no need to compile anything :)
4.x: http://files.directadmin.com/services/freebsd4.8/da_exim-4.34-1.tgz
5.x: http://files.directadmin.com/services/freebsd5.1/da_exim-4.34-1.tgz
:)
John
rhoekman
06-17-2004, 03:48 PM
Thanks! Got it installed but I got an error when I tried to restart Exim. The permissions on the logfiles in /var/log/exim was set to maillnull:mail so exim abandoned. chowning it back to mail:mail solved it.. Also the filenames changed from:
exim_mainlog
exim_paniclog
exim_rejectlog
to
mainlog
paniclog
rejectlog
Rick
p.s. Is Exiscan is compiled with it?
vandal
06-17-2004, 06:31 PM
anyone tried the redhat rpms? everything stable etc...can i upgrade safely now?
DirectAdmin Support
06-20-2004, 02:30 PM
Hello,
exiscan is compiled with all 4.34 versions.
John
ctnchris
06-20-2004, 09:22 PM
Preparing... ########################################### [100%]
file /etc/aliases from install of da_exim-4.34-1 conflicts with file fro
m package da_exim-3.36-2
file /etc/exim.conf from install of da_exim-4.34-1 conflicts with file f
rom package da_exim-3.36-2
file /etc/logrotate.d/exim from install of da_exim-4.34-1 conflicts with
file from package da_exim-3.36-2
file /etc/rc.d/init.d/exim from install of da_exim-4.34-1 conflicts with
file from package da_exim-3.36-2
file /etc/sysconfig/exim from install of da_exim-4.34-1 conflicts with f
ile from package da_exim-3.36-2
file /usr/bin/mailq from install of da_exim-4.34-1 conflicts with file f
rom package da_exim-3.36-2
file /usr/bin/runq from install of da_exim-4.34-1 conflicts with file fr
om package da_exim-3.36-2
file /usr/lib/sendmail from install of da_exim-4.34-1 conflicts with fil
e from package da_exim-3.36-2
file /usr/sbin/exicyclog from install of da_exim-4.34-1 conflicts with f
ile from package da_exim-3.36-2
file /usr/sbin/exigrep from install of da_exim-4.34-1 conflicts with fil
e from package da_exim-3.36-2
file /usr/sbin/exim from install of da_exim-4.34-1 conflicts with file f
rom package da_exim-3.36-2
file /usr/sbin/exim_dbmbuild from install of da_exim-4.34-1 conflicts wi
th file from package da_exim-3.36-2
file /usr/sbin/exim_dumpdb from install of da_exim-4.34-1 conflicts with
file from package da_exim-3.36-2
file /usr/sbin/exim_fixdb from install of da_exim-4.34-1 conflicts with
file from package da_exim-3.36-2
file /usr/sbin/exim_lock from install of da_exim-4.34-1 conflicts with f
ile from package da_exim-3.36-2
file /usr/sbin/exim_tidydb from install of da_exim-4.34-1 conflicts with
file from package da_exim-3.36-2
file /usr/sbin/eximstats from install of da_exim-4.34-1 conflicts with f
ile from package da_exim-3.36-2
file /usr/sbin/exinext from install of da_exim-4.34-1 conflicts with fil
e from package da_exim-3.36-2
file /usr/sbin/exiqsumm from install of da_exim-4.34-1 conflicts with fi
le from package da_exim-3.36-2
file /usr/sbin/exiwhat from install of da_exim-4.34-1 conflicts with fil
e from package da_exim-3.36-2
file /usr/share/man/man8/exim.8.gz from install of da_exim-4.34-1 confli
cts with file from package da_exim-3.36-2
should I do --force?
Icheb
06-20-2004, 11:11 PM
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 ?
ProWebUK
06-21-2004, 06:20 AM
rpm -Uvh
Not -ivh
Chris
LyricTung
06-23-2004, 05:02 PM
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:
blueice
06-24-2004, 01:27 AM
Originally posted by LyricTung
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
DirectAdmin Support
06-25-2004, 01:56 PM
Hello,
You'd download the package, remove the old one, then install the new one.
wget http://files.directadmin.com/services/freebsd_#/da_exim-4.34-1.tgz
pkg_delete exim-4.24-1
pkg_add da_exim-4.34-1.tgz
Make sure you backup any exim.conf files if you've made any customizations you want to keep.
John
vetrun
06-27-2004, 09:06 AM
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
kamsel
06-27-2004, 09:18 AM
Hello,
# uname -v
FreeBSD 4.10-RELEASE #3: Sun Jun 6 19:49:16 EDT 2004 root@kam.example.com:/usr/obj/usr/src/sys/KAMSEL
No problems here, thanks John!
Kamsel
interfasys
06-27-2004, 10:36 AM
Originally posted by DirectAdmin Support
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.
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)
ProWebUK
06-27-2004, 10:55 AM
Try the rpm --rebuild method i posted above and see if that works.
Chris
interfasys
06-27-2004, 11:09 AM
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.
interfasys
06-27-2004, 12:11 PM
That was it, thank you!
Originally posted by DirectAdmin Support
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.
Originally posted by DirectAdmin Support
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
cd ../RPMS/i386
rpm -ivh da_exim-4.34-1.i386.rpm
[/B]
When I do: cd ../RMPS/i386 the folder is empty
?
Originally posted by cth3
When I do: cd ../RMPS/i386 the folder is empty
?
Did you do the 'rpmbuild -ba exim.spec' and did it build without errors?
It ran fine, no problems at all
Originally posted by cth3
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)
Your real error is still before the
error: Bad exit status from /var/tmp/rpm-tmp.74824 (%doc) line. Not enough was posted to see what was missing or went wrong.
pilpelet
07-03-2004, 03:45 PM
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 .
sander815
08-02-2004, 05:35 AM
does this replace my current exim.conf when i upgrade? cause i already use spamblocker exim.conf with exim 4.24
skruf
08-02-2004, 07:46 AM
Hey,
It replaced my stock exim.conf file with a new one. Whether it does that everytime I don't know.
It looks like the new exim.conf is Jeff's exim.conf (Spamblocker) or at least extremely similar.
I'm not having any problems with it.
Back up your exim.conf and if you customized it then you may have to reapply them to the new conf.
David
Chrysalis
09-15-2004, 10:01 AM
4.34 installed great but 4.41 doesnt start
interfasys
09-15-2004, 10:15 AM
Try the DA 4.42 source rpm
Chrysalis
09-15-2004, 11:41 AM
sorry I meant 4.42 and I am using freebsd, I did the same as I did for 4.34 and it installs ok but just doesnt start, I cant find where it logs errors tho so couldnt find out why it wasn't starting so for now have rolled back to 4.34.
interfasys
09-15-2004, 12:04 PM
All I can tell you is that I run 4.42 on FreeBSD (along with spamblocker, spamassassin and clamav), so it works.
But I can't help...I didn't install it, my tech team did.
blueice
09-25-2004, 12:09 AM
everyone who have install exim 4.42 on freebsd without problems?
i can install this but the exim canot start :(
Chrysalis
09-25-2004, 10:49 AM
blueice it works fine on my freebsd5.x box but on my 4.x box it installs but doesnt start.
blueice
09-25-2004, 11:09 AM
Originally posted by Chrysalis
blueice it works fine on my freebsd5.x box but on my 4.x box it installs but doesnt start.
yes, i have the same problem with freebsd 4.9
Thanks
Frank
09-25-2004, 03:07 PM
Same problem on FreeBSD 4.10-RELEASE. It just coredumps when I try to run it. A gdb backstrace shows an error on signal handling, but nothing more ... Reverting to 4.34-1 did the trick...
blueice
09-26-2004, 02:19 AM
any fix (freebsd 4.x) from directadmin support?
CrazyMouse
09-27-2004, 01:48 AM
same problem with freebsd 4.9
I downgrade back to 4.34
LyricTung
09-30-2004, 10:34 AM
Same here on FreeBSD 4.10. Luckily it wasn't on a production box because I upgraded and walked away...It's been a few days now (ACK!)
Exim 4.42 will start and then core dumps. I did a pkg_delete on 4.42 and pkg_add on 4.34 and Exim 4.34 started and stayed running without a hitch.
Chrysalis
09-30-2004, 01:13 PM
I checked the status 3 hours after starting the new 4.42 and its still running, I will check again later as well.
CrazyMouse
10-07-2004, 11:12 AM
Originally posted by LyricTung
Same here on FreeBSD 4.10. Luckily it wasn't on a production box because I upgraded and walked away...It's been a few days now (ACK!)
haha, never do that!! :P not good ;)
Maciek
10-29-2004, 02:55 PM
Originally posted by toml
Your real error is still before the line. Not enough was posted to see what was missing or went wrong.
When updating to 4.42 I got:
+ cp -pr doc/ChangeLog doc/dbm.discuss.txt doc/Exim3.upgrade doc/Exim4.upgrade doc/exiscan-acl-examples.txt doc/exiscan-acl-spec.txt doc/filter.txt doc/NewStuff doc/OptionLists.txt doc/pcrepattern.txt doc/pcretest.txt doc/README doc/README.SIEVE doc/spec.txt CHANGES LICENCE NOTICE README README.UPDATING src/configure.default /var/tmp/buildexim.fG5iR2/da_exim-4.42-root/usr/share/doc/da_exim-4.42
cp: nie można zamazać właśnie utworzonego `/var/tmp/buildexim.fG5iR2/da_exim-4.42-root/usr/share/doc/da_exim-4.42/README' plikiem `README'
błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.46305 (%doc)
Przetwarzanie plików: da_exim-debuginfo-4.42-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Can't remov file ? why ? Any ideas ?
mikeyman
01-16-2005, 11:46 AM
How do you integrate clamd and spamassassin into exim?
alex2k
01-17-2005, 10:05 AM
New version available here:
http://files.directadmin.com/services/da_exim-4.44-1.src.rpm
RayManZ
01-17-2005, 11:24 AM
[root@server1 i386]# rpm -Uvh da_exim-4.44-1.i386.rpm
Preparing... ########################################### [100%]
file /etc/aliases from install of da_exim-4.44-1 conflicts with file from package setup-2.5.33-1
nobaloney
01-18-2005, 08:59 PM
Originally posted by mikeyman
How do you integrate clamd and spamassassin into exim?
Make sure you don't overwrite your exim.conf file (it shouldn't but back it up to be sure) and whatever your exim.conf file does, it'll keep doing.
Jeff
DirectAdmin Support
01-18-2005, 09:40 PM
Originally posted by RayManZ
[root@server1 i386]# rpm -Uvh da_exim-4.44-1.i386.rpm
Preparing... ########################################### [100%]
file /etc/aliases from install of da_exim-4.44-1 conflicts with file from package setup-2.5.33-1
rpm -Uvh --force da_exim-4.44-1.i386.rpm
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.