LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-18-2003, 02:16 PM   #1
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Rep: Reputation: 30
patching sendmail


Hi

I attempted to patch sendmail 8.12.8 on RH 9 today via this website

http://rhn.redhat.com/errata/RHSA-20...at%20Linux%209

i ran both rpm's using the -u (upgrade) command and both appear to have worked.

it copied and renamed two files though? sendmail.cf to sendmail.cf.rpmnew and submit.cf to submit.cf.rpmnew

now i did try to rename these in case the changes were included in the renamed files but sendmail failed to work after that! so i ran the mc file again and now backup. i checked all the files in /etc/mail and most were created today which suggests the patch upgrade worked...


how can i tell though?

i'm not sure if the sendmail.cf is using the changes or if sendmail is in fact patched at all? in the headers it sill says 8.12.8 not any extra figures?

Graeme.
 
Old 09-18-2003, 02:26 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
diff sendmail.cf sendmail.cf.rpmnew
 
Old 09-18-2003, 04:42 PM   #3
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Original Poster
Rep: Reputation: 30
ok cool... thanks

well i did a 'diff' and the differances were the normal settings for my domain i.e. ip and domain name...

which is obviously why the .cf file created with the upgrade didnt work!

now...i have a new .cf in place from the .mc files which works. does that mean that sendmail is of course patched?

is there a command to tell me exactly what build of sendmail 8.12.8 i'm now running?

the rpm just worked! i got no feedback etc.

G

*UPDATE*

i did a rpm -qa and got the package confirmed correctly...


Last edited by GraemeK; 09-18-2003 at 05:57 PM.
 
Old 09-19-2003, 02:29 AM   #4
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
the best patch for sendmail is postfix

#rpm -e sendmail
#rpm -e sendmail-devel
#up2date -u postfix

change a couple of lines in main.cf and you're done


that sounds really easy...but it actually worked for me
 
Old 09-19-2003, 01:00 PM   #5
GraemeK
Member
 
Registered: Aug 2003
Location: Essex, UK
Distribution: Windoze 2000, Fedora Core 3
Posts: 325

Original Poster
Rep: Reputation: 30
LOL!

yeah i keep hearding how postfix is better...

in time in time
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Patching 2.6 Biotachyonic Linux - Laptop and Netbook 2 08-24-2005 10:04 PM
Patching bong.mau Mandriva 4 04-25-2004 03:12 PM
patching ybaws Linux - Software 3 04-02-2004 04:52 PM
Patching Straterra Slackware 18 03-17-2004 12:58 PM
patching janu Linux - Software 1 01-06-2003 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration