[rhelv6-list] Removing sendmail - how to satisfy MTA requirement?

Manuel Wolfshant wolfy at nobugconsulting.ro
Tue Nov 26 17:34:11 UTC 2013



emmanuel segura <emi2fast at gmail.com> wrote:
>ugly and fast way rpm -e --nodeps sendmail
>
Or create a proper package for the new version of postfix , making sure it has the corrrect "Provides:". You can use the stock src.rpm for inspiration

Manuel
>
>2013/11/26 Paul Reilly <pareilly at tcd.ie>
>
>> Hello,
>>
>> The version of postfix which comes with RHEL 6 is very old, postfix
>> version 2.6, and does not contain the features I want. So I have
>installed
>> postfix 2.10  from source code.  Next, I would like to remove
>sendmail from
>> this server, and use the source compiled postfix as our MTA.  However
>if I
>> try to remove sendmail, yum tries to remove lot's of other critical
>> packages like crontabs and redhat-lsb-core.  How do I remove sendmail
>and
>> let the package manager know that I have an MTA installed, so it
>doesn't
>> try and remove these packages?
>>
>>
>> # yum erase sendmail
>> ...
>> Dependencies Resolved
>>
>>
>>
>==================================================================================================================================================================
>>  Package                           Arch
>> Version
>> Repository                                                           
> Size
>>
>>
>==================================================================================================================================================================
>> Removing:
>>  sendmail                          x86_64
>> 8.14.4-8.el6
>> @rhel-6-server-rpms                                                  
>1.5 M
>> *Removing for dependencies:*
>>  cronie                            x86_64
>> 1.4.4-12.el6
>> @rhel-6-server-rpms                                                  
>174 k
>>  cronie-anacron                    x86_64
>> 1.4.4-12.el6
>> @rhel-6-server-rpms                                                  
> 43 k
>>  crontabs                          noarch
>> 1.10-33.el6
>> @anaconda-RedHatEnterpriseLinux-201111171049.x86_64/6.2              
>2.4 k
>>  libcgroup                         x86_64
>> 0.40.rc1-5.el6
>> @rhel-6-server-rpms                                                  
>321 k
>>  redhat-lsb-core                   x86_64
>> 4.0-7.el6
>> @rhel-x86_64-server-6                                                
> 22 k
>>  redhat-lsb-graphics               x86_64
>> 4.0-7.el6
>> @rhel-x86_64-server-6                                                
>0.0
>>  sysstat                           x86_64
>> 9.0.4-22.el6
>> @rhel-6-server-rpms                                                  
>824 k
>>
>> Transaction Summary
>>
>>
>==================================================================================================================================================================
>> Remove        8 Package(s)
>>
>>
>>
>>
>> Thanks
>>
>> Paul
>>
>>
>> _______________________________________________
>> rhelv6-list mailing list
>> rhelv6-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/rhelv6-list
>>
>
>
>
>-- 
>esta es mi vida e me la vivo hasta que dios quiera
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>rhelv6-list mailing list
>rhelv6-list at redhat.com
>https://www.redhat.com/mailman/listinfo/rhelv6-list




More information about the rhelv6-list mailing list