|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: mouss (mlist.only
free.fr)
Date: Tue Dec 04 2007 - 04:21:41 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Brian wrote:
>>> Those are the only commands you need to use. Unless you have a
>>> specific need to compile postfix, please use the yum/rpm packages
>>> instead.
>> Rather than removing sendmail, it's better to use the Red Hat alternatives
>> system (type man alternatives for more info):
>> sudo /usr/sbin/alternatives --set mta /usr/sbin/sendmail.postfix
>>
>> This sets up symbolic links so that the commands sendmail, mailq,
>> newaliases, etc. use the Postfix equivalents instead of the ones from the
>> sendmail package (the default out of the box).
>
> Meh. Install 'system-switch-mail' and let it do that for you.
>
>>> There is rarely a need to compile a package when using a distro like
>>> Centos, and compiling is actually a bad thing, as it will break the
>>> package management tools.
>> It doesn't break the package management tools, but merely bypasses them.
>
> Until someone runs 'yum update' or its equivalent on the box and fails
> to notice that Postfix is in the list of packages to be updated. After
> the update, the compiled version which 'bypasses' the package management
> tools has been squashed and the custom compile has been rendered
> useless.
>
> Again, this is why Simon Mudd makes his SRPM (and binary) packages. So
> users can build Postfix to their liking without losing the package
> management capabilities. It's well-documented, he keeps it current, and
> it works.
if you use your own RPMs, you should use
exclude=postfix* ...
in the yum repo config file.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]