Link to home
Start Free TrialLog in
Avatar of karj
karj

asked on

Sendmail Upgrade

Trying to upgrade sendmail!!!
I've got SuSE Linux 8.0 with sendmail-8.12.11 i would like  to upgrade to sendmail-8.13.4
but i really don't know the way to do that!
since the sendmail installation is done from source code!

could someone give some help!
I've tried google but no luck

thanks
           Yiannis

ASKER CERTIFIED SOLUTION
Avatar of Darshan_Jadav
Darshan_Jadav

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Darshan_Jadav
Darshan_Jadav

2. Copy site.config.m4 (if applicable) and Sendmail macro configuration (mc) file from your previous Sendmail source tree. In this  the name of the Sendmail macro configuration file is sendmail.mc.
cp sendmail-8.12.11/devtools/Site/site.config.m4 sendmail-8.13.4/devtools/Site/site.config.m4
cp sendmail-8.12.11/cf/cf/sendmail.mc sendmail-8.13.4/cf/cf/sendmail.mc

3. Build Sendmail.
cd sendmail-8.13.4
./Build -c

sorry typo mistakes ;-)
SuSE is an RPM based distribution of Linux.

RPM is a package format developed by RedHat that allows software developers, vendors, etc. package their program into one or more RPM files, which can then be installed in an automated manner using the "rpm" command-line tool, or various graphical tools that may be available.

Distributions that are based on RPM packages have all of the included software built into an RPM package.  Each RPM package contains the needed files, as well as built-in instructions on how the software should be installed, what it needs (other packages), what it provides, etc.  This lends some intelligence to the installation of software, and takes much of the pain out of it.  It's comparable in use to the "Add/Remove Programs" interface of Windows in purpose, but typically works much better, at the expense of more interaction.

SuSE has spent a great deal of time packaging all the software so that it works cleanly together, works with their configuration tools, etc.  Whenever possible, I would recommend continuing with the SuSE packages.  It is possible to compile from source and install newer versions of software than is available from SuSE, but you will lose the benefit of their configuration tools, the RPM "intelligence" (if it's not installed via RPM, then RPM doesn't know it exists), etc.  In other words, building from source is "the hard way", and I wouldn't recommend it unless you're familiar with this already.  sendmail is not a good place to start that learning process.

The latest version of sendmail that SuSE offers for 8.0 is sendmail 8.12.3 (78).  It can be found at ftp://ftp.suse.com/pub/suse/discontinued/i386/update/8.0/n1/sendmail-8.12.3-78.i386.rpm

The 78 is probably a SuSE patch-level.  Many major vendors, such as RedHat and SuSE, will backport bugfixes and features to older versions of software.  This allows you to continue using tested and compatible software without suffering a lack of fix or feature.  I would recommend upgrading to this version of sendmail first, and see if it satisfies your needs.  You may also wish to look at postfix, which is a considerably "lighter" MTA than sendmail, but offers a variety of commonly needed features and an excellent choice for production mail servers.

Other versions of sendmail available include sendmail-8.12.6-159.i586.rpm from SuSE 8.1 (may be able to install, possibly requiring other packages to be updated), sendmail-8.12.7-77.i586.rpm from SuSE 8.2, sendmail-8.12.10-15.i586.rpm from SuSE 9.0 (probably wont work without significant upgrades to other packages), sendmail-8.12.10-158.i586.rpm from SuSE 9.1, and sendmail-8.13.1-5.1.i586.rpm from SuSE 9.2.

If you're stuck on sendmail 8.13, but the specific rev isn't important, I'd recommend looking at a full upgrade to SuSE 9.2 if the primary purpose is a mail server.  I will warn you, however, that SuSE has changed a lot from 7 to 8 to 9... personally, I prefer the older versions.  There's also the SuSE Enterprise Linux stuff, which has allowed them to make their "mainstream" distro more suited to desktop use than servers.  On an unrelated note, Novell has since acquired SuSE and changed their name to SUSE (no mixed case), which is likely to have a significant effect on their business model, etc.
Avatar of karj

ASKER

If i put the rpm should i have to reconfigure
the sendmail???
what i mean is that in /etc/mail/
i've got
access.db
domaintable.db
etc.
i also have sendmail.cf sumbit.cf .......
the question is,
the rpm affects only the executable
or replaces also
those files????

thanks
it will save the files as rpm.save, later u can again replace them with orginal names, --
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
U have the advantages and disadvantages of both the ways with u, from RPM based and Source uprade, define a process which u can follow up and the best way is to carry on with it, for some things there nuthin like upgrade/sticking with the source and sometimes, nuhtin like simplicity of an RPM upgrade ( provided the vendor release the RPM on time ) .. as an personal opinon " may the source be with u ;-) "
Thanks :-)