Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install postfix with MySQL on RHEL5 but the repos from the rhnplugin are overriding it even if i have an exclude line in the rhnplugin.conf file

My goal is to only use the CentOSPlus repo for postfix and the rest use RHN

This is my rhnplugin.conf file

enabled = 1
gpgcheck = 1



and this is my CentOS-Base.repo file

name=CentOS-5 - Plus

It works fine if I set enabled=0 in my rhnplugin.conf file but my goal is not to disable that repo

share|improve this question
up vote 1 down vote accepted

Add this to your rhnplugin.conf:


Assuming "rhel-x86_64-server-5". Adjust that repo according to your RHEL version.
(yum repolist enabled will show the enabled repos on your system)

Then install postfix:

yum install postfix
share|improve this answer
and you don't need the "base" and "update" sections in your rhnplugin.conf - those are for CentOS. – Chad Feller Aug 28 '11 at 3:49
awesome thanks! – Andre Jay Marcelo-Tanner Aug 28 '11 at 19:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.