PDA

View Full Version : Exim 4.24 (for exim 3 Users)


DirectAdmin Support
10-28-2003, 12:11 PM
wget http://files.directadmin.com/services/<OS>/da_exim-4.24-1.i386.rpm
rpm -e --nodeps da_exim
rpm -ivh da_exim-4.24-1.i386.rpm
*notes: we remove the old exim first to make sure the new exim.conf will be used.
* replace <OS> with your OS version: 7.2, 7.3, 8.0, 9.0

John

Anzix
12-13-2003, 12:06 AM
error: Failed dependencies:
libcrypto.so.2 is needed by da_exim-4.24-1
libssl.so.2 is needed by da_exim-4.24-1

I get those errors

Icheb
12-13-2003, 03:48 AM
Does this upgrade have any problems with MailScanner, SpamAssassin and ClamAV ?

Anzix: It seems you don't have any SSL stuff on your server, is openSSL working over there ?

DirectAdmin Support
12-13-2003, 01:47 PM
Hello,

The upgrade will install a new /etc/exim.conf. You'd need to re-add everything to the new file.

Re: Failed dependencies:
If you don't have openssl, you can get it from
http://files.directadmin.com/services/9.0/
Just replace 9.0 with your os version if you arn't using 9.0 (7.2, 7.3, 8.0, 9.0)

John

Icheb
12-13-2003, 04:19 PM
I don't know if there are any changes to the new config file in comparrision to the old file, but shouldn't it be possible to :
cp /etc/exim.conf /etc/exim.conf.bak
wget http://files.directadmin.com/services/<OS>/da_exim-4.24-1.i386.rpm
rpm -e --nodeps da_exim
rpm -ivh da_exim-4.24-1.i386.rpm
mv /etc/exim.conf.bak /etc/exim.conf

Or are there too many differences to do this ?

ProWebUK
12-13-2003, 06:11 PM
Make a backup of the exim 4 config once its installed and try it :)

Had a quick look on the exim website and couldn't find any information reagdring the upgrade or the configs for this.

Chris

DirectAdmin Support
12-14-2003, 01:05 AM
Hello,

I'm don't think that exim 3 config's will work with exim 4. However, there is a config conversion script that does it for you (might have to hunt around). It's not perfect, I used it originally to convert our 3.x to 4.x, but it required a lot of touching up. What you could do, is convert your 3.x script to 4.x and only take the custom parts and insert them into our version of the 4.x script. But.. the easier solution might be to just follow a 4.x tutorial to install mailscanner etc.. and only follow the exim.conf parts of the instructions. (http://www.directadmin.com/forum/showthread.php?s=&threadid=1187)

John

S2S-Robert
12-14-2003, 09:28 AM
rpm -Uvv --test da_exim-4.24-1.i386.rpm


That one seems to work, won't this replace the exim.conf file as well? I believe that RPM could tell the original conf file and automatically replace it by a new one if it found the original hasn't been tampered with?

ProWebUK
12-14-2003, 09:34 AM
rpm -Uvh *.rpm

is in most cases basically the same as

rpm -e *.rpm
rpm -ivh *.rpm

with something like this.

If you want to make a backup of your previous config, as has been mentioned previously:

cp /etc/exim.conf /etc/exim.conf.bak

although your v3 config will *not* work with version 4.

S2S-Robert
12-14-2003, 10:42 AM
I tried upgrading but that didn't work. It still used the exim.conf of exim 3, so you must delete it first.

After 4.2 has been upgraded I had to remove it with --nodeps and then reinstall it to get it working.

So do not upgrade! :)

ProWebUK
12-14-2003, 11:11 AM
It will always be cleaner doing an uninstall then upgrade since all your previous files get wiped completely before a new install, then quite simple the new version is fresh.

There was obviously a reason for John suggesting the removal firstly i guess!

Chris