![]() |
Centos 4.2, removing sendmail and installing postfix from yum
When you order your new server. Allot of data centers run Centos server on their servers. Centos server comes complete with a compiled list of programs that you may or may not use. And If you plan on running Webmin on your server. You are going to want to remove sendmail and install postfix. The process can be done by doing the following.
The first thing we are going to do is log into SSH and remove sendmail with the following command. #rpm -e sendmail This will remove the sendmail instillation Next we are going to install postfix using yum. Type the following command. #yum install postfix Type y to confirm Thats all there is to it. You have now removed sendmail and installed postfix. |
Centos 4.2, removing sendmail and installing postfix from yum
Change mycompany.hosting to your real domain name , and use that everywhere
instead of mycompany.hosting for example if your domain name is bigcompany.com you will use bigcompany.com everywhere in this guide instead of mycompany.hosting!!!! !!! Read this !!! If you used bigcompany.com for fqdn (mail.bigcompany.com) , you cannot use the same domain name for virtual domains, since postfix will not work, this is a critical error i made in this guide, sorry. |
Great tips!! I completely forgot to remove the sendmail :-)
|
Excellent tips!
|
Dealing with rpm dependencies
If you've got anything on your box that claims to have dependencies on sendmail and you get any error messages when trying to do the rpm -e sendmail, you might add --nodeps to the rpm command. This should leave other dependent packages in place.
__________________ Georgia Web Hosting | Georgia Web Design |
Good Postfix + Spamassassin Config Guide
If you remove Sendmail, you'll need to reconfigure your milters and spam filters to work with postfix. This is a good article on Spamassassin + Postfix : http://www.akadia.com/services/postf...massassin.html
__________________ Material Handling Systems - Power Generation System |
All times are GMT -5. The time now is 12:29 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.