|
|
02-21-2006, 03:57 AM
|
|
Senior Member
GB GEEK
|
|
Join Date: Feb 2006
Posts: 309
|
|
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.
|
05-06-2009, 05:33 AM
|
Junior Member
GB Newbie
|
|
Join Date: May 2009
Location: USA
Posts: 1
|
|
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.
|
07-17-2009, 07:43 AM
|
Member
GB Beginner
|
|
Join Date: Jul 2009
Posts: 33
|
|
Great tips!! I completely forgot to remove the sendmail :-)
|
08-14-2009, 04:35 PM
|
Junior Member
GB Newbie
|
|
Join Date: Aug 2009
Posts: 6
|
|
Excellent tips!
|
07-08-2010, 12:22 PM
|
Junior Member
GB Newbie
|
|
Join Date: Jul 2010
Posts: 6
|
|
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
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|