LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   patching sendmail (https://www.linuxquestions.org/questions/linux-networking-3/patching-sendmail-94240/)

GraemeK 09-18-2003 02:16 PM

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.

chort 09-18-2003 02:26 PM

diff sendmail.cf sendmail.cf.rpmnew

GraemeK 09-18-2003 04:42 PM

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...


Robert0380 09-19-2003 02:29 AM

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

GraemeK 09-19-2003 01:00 PM

LOL!

yeah i keep hearding how postfix is better...

in time in time ;)


All times are GMT -5. The time now is 12:56 AM.