NetAdminTools.com
 
SignalQ Sites:
NetAdminTools - Coprolite - NoNIC - SpotBridge - NAW
RoboCoop - AreWeDown - SolarPower - SysAdminTools
Xfig - Gold Loaf - GeekPapa - FixGMC - MCJ - FixRambler
Categories:
GNU/Linux | Homebrew designs | Perl | Administration | Backup/Recovery | Bugs/Fixes | Certification | Database | Email | File/Print | Hardware | Information Grab Bag | Interoperability | GNU/Linux ABCs | Monitoring | Name Resolution | Network Services | Networking | Remote Control | Security | Desktop | Web | BSD | Solaris | GIAGD | REALbasic

Last 30 Days | Last 60 Days | Last 90 Days | All Articles | RSS | Hail Support


Categories:
·GNU/Linux
·Homebrew designs
·Perl
·Administration
·Backup/Recovery
·Bugs/Fixes
·Certification
·Database
·Email
·File/Print
·Hardware
·Information Grab Bag
·Interoperability
·GNU/Linux ABCs
·Monitoring
·Name Resolution
·Network Services
·Networking
·Remote Control
·Security
·Desktop
·Web
·BSD
·Solaris
·GIAGD
·REALbasic
·All Categories


Postfix RPM Upgrade for Red Hat Enterprise Linux 3
Topic: Email   Posted:2005-12-10
Printer Friendly: Print

spacerspacer
One of the servers we work on is running Red Hat Enterprise Linux 3 (RHEL 3). We needed some features in the later versions of Postfix, rather than the backported version for RHEL 3. There are some RPMs available here:
http://postfix.wl0.org/ftp/official/2.2/RPMS-rhel3-i386

The latest version as of the date of this article is 2.2.5-3. If you want a later version, see this artilce for creating a more recent version based on the source rpm. Our current version is 2.2.4:

# rpm -qa | grep postfix
postfix-2.2.4-2.rhel3
# 

Copy your postfix configuration files, which are probably in /etc/postfix, to be safe. The RPM upgrade does preserve your existing config; however, it is better to be careful. Let's upgrade to 2.2.5:

# ls *postfix*.rpm
postfix-2.2.5-3.rhel3.i386.rpm
# rpm -Fvh postfix-2.2.5-3.rhel3.i386.rpm
Preparing...                ########################################### [100%]
1:postfix                
warning: /etc/postfix/main.cf created as /etc/postfix/main.cf.rpmnew
########################################### [100%]
Shutting down postfix: [  OK  ]
Starting postfix: [  OK  ]
#
# /etc/init.d/postfix restart
Shutting down postfix:                                     [  OK  ]
Starting postfix:                                          [  OK  ]

Check out the postfix entries in /var/log/maillog:

postfix-script: starting the Postfix mail system
master[15946]: daemon started -- version 2.2.5, configuration /etc/postfix
rpm: 2.2.4-2.rhel3 triggerpostun -- postfix: final number of Postfix packages=1
rpm: 2.2.4-2.rhel3 Upgrading Postfix: using RH alternatives
rpm: 2.2.5-3.rhel3 triggerpostun -- postfix: final number of Postfix packages=1
rpm: 2.2.5-3.rhel3 Upgrading Postfix: using RH alternatives
postfix-script: stopping the Postfix mail system
master[15946]: terminating on signal 15
postfix-script: starting the Postfix mail system
master[16377]: daemon started -- version 2.2.5, configuration /etc/postfix

Again, if you want a later version, see this article for creating a more recent version based on the source rpm.




Please read our Terms of Use
Microsoft, Windows, Windows XP, Windows 2003, Windows 2000, and NT are either trademarks or registered trademarks of Microsoft Corporation. NetAdminTools.com is not affiliated with Microsoft Corporation. Linux is a registered trademark of Linus Torvalds, and refers to the Linux kernel. The operating system of most distributions that contain the Linux kernel is GNU/Linux. All logos and trademarks in this site are property of their respective owner. Copyright 1997-2008 NetAdminTools.com

Created by:
MCJ
MCJ CMS