Page 1 of 1

yum and qmail to postfix

Posted: 2008/04/03 09:37:45
by supremedalek
I plan on replacing qmail with postfix as the MTA in a centos 4.6 box. Now, as I am going to use yum to install postfix, I was wondering if it would disable the current install of qmail (also installed as a package). What I want to do is to have qmail + vpopmail running while I configure postfix, so I can switch from one to the other when I am ready and then uninstall qmail.

yum and qmail to postfix

Posted: 2008/04/18 06:18:14
by cormander
According to this:

rpm -q --obsoletes postfix

postfix doesn't obsolete qmail, so it's likely you can have them both installed at the same time (unless of course they have conflicting files, which is possible).

If you do happen to have both installed at the same time, you're going to have to change postfix's listening ports in order to start it and not conflict with the already running qmail. Not hard to do, the change is made in /etc/postfix/master.cf

Re: yum and qmail to postfix

Posted: 2008/05/02 09:53:43
by supremedalek
I do not know what to do say because when I tried to install postfix, this is what it barked back:

[code][raub@strangepork ~]$ sudo yum install postfix
Password:
Setting up Install Process
Setting up repositories
update 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 124 kB 00:00
sqlite cache needs updating, reading in metadata
update : ################################################## 397/397
primary.xml.gz 100% |=========================| 48 kB 00:00
sqlite cache needs updating, reading in metadata
extras : ################################################## 195/195
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package postfix.i386 2:2.2.10-1.1.el4 set to be updated
--> Running transaction check
--> Processing Conflict: qmail-toaster conflicts postfix
--> Processing Conflict: vpopmail-toaster conflicts postfix
--> Finished Dependency Resolution
Error: qmail-toaster conflicts with postfix
Error: vpopmail-toaster conflicts with postfix
[raub@strangepork ~]$ [/code]

Since I need to phase out that qmail install, for now I am setting up postfix in a virtual host under vmware.