Computer Forums

Computer Forums (http://www.geekboards.com/forums/index.php)
-   Building Websites (http://www.geekboards.com/forums/forumdisplay.php?f=3)
-   -   Centos 4.2, removing sendmail and installing postfix from yum (http://www.geekboards.com/forums/showthread.php?t=593)

Soulwatcher 02-21-2006 02:57 AM

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.

apostilleus 05-06-2009 04:33 AM

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.

bt-t 07-17-2009 06:43 AM

Great tips!! I completely forgot to remove the sendmail :-)

grinter 08-14-2009 03:35 PM

Excellent tips!

innoshare 07-08-2010 11:22 AM

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

esitenn 09-01-2010 11:48 AM

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 06:05 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
HTML Help provided by HTML Help Central.