Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to upgrade to sendmail 8.12.10 on Red Hat 7.3

Compiling sendmail on rh 7.3

How to upgrade to sendmail 8.12.10 on Red Hat 7.3

by  datadan  Posted    (Edited  )
Download and untar latest sendmail

1. Command = cd /../opt/Src/
2. Command = tar zxvfp sendmail.8.12.10.tar.gz

Stop Sendmail

3. Command = /etc/rc.d/init.d/sendmail stop

Back up sendmail

4. Command = cp /usr/sbin/sendmail /usr/sbin/sendmail.original
5. Command = cp /etc/mail/sendmail.mc /etc/mail/sendmail.mc.original
6.Command = cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.original
7. Command = cp /etc/mail/access /etc/mail/access.original
8. Command = cp /etc/aliases /etc/aliases.original

Building Sendmail

9. Command = cd /opt/Src/sendmail-8.12.10
10.Command = ./Build
11.Command = ./Build install

Make Necessary Edits to .mc file

12. Command = cd cf/cf/
13. Command = vi /opt/Src/sendmail-8.12.10/cf/cf/sendmail.mc

Copying/Developing Sendmail Configs:

*While in the ../cf/cf director
14. Command = ./Build sendmail.cf
15. Command = cp /opt/Src/sendmail-8.12.10/cf/cf/sendmail.cf /etc/mail/sendmail.cf
16. Command = cp /opt/Src/sendmail-8.12.10/cf/cf/sendmail.mc /etc/mail/sendmail.mc
17. Command = vi /etc/mail/access a change a small value
18. Command = cd /etc/mail
19. Command = newaliases
20. Command = make


Start Sendmail

21. Command = /etc/rc.d/init.d/sendmail start

Tests and clean up

22. Command = sendmail -d0.1 -bp
*This reports Sendmail Version
23. Check Open Rely: http://members.iinet.net.au/~remmie/relay/
24. Check mail can be sent out and in.
25. Review mail log for errors.
36. http://www.zmailer.org/mxverify.html
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top