|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Brian Mathis (brian.mathis
gmail.com)
Date: Mon Dec 03 2007 - 10:30:50 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Dec 3, 2007 10:51 AM, mouss <mlist.only
free.fr> wrote:
> Brian Mathis wrote:
> > Installing postfix on CentOS is a matter of:
> > yum install postfix
> > yum remove sendmail
>
> # yum install postfix
> ....
> postfix i386 2:2.2.10-1.1.el4.centos.mysql_pgsql.plus
> ...
>
> # postconf -a
> postconf: invalid option -- a
> ...
>
> so this doesn't support dovecot sasl, and only supports cyrus sasl:
>
> # ldd /usr/libexec/postfix/smtpd | grep sasl
> libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x0028c000)
>
> Compare to this:
>
> # rpm -q postfix
> postfix-2.4.3-1.rhel4
> # postconf -a
> dovecot
>
> > 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.
>
> you can get an srpm from:
> http://ftp.wl0.org/official/2.4/SRPMS/
> and build an rpm. then either install the rpm or put it in a local yum
> repository and use yum.
>
> > 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.
>
> care must indeed be taken with regard to dependencies such as mysql,
> postgres, ldap, ... etc. otherwise, it is ok to rebuild postfix from
> sources. That said, building an rpm will keep package mgmt working
> correctly and would prevent problems if a dependency update requires a
> rebuild.
As I said, "Unless you have a specific need". This user is new to
both Linux and postfix, and mentioned nothing of those specific needs.
The fact is that out of the box, the postfix package works just fine
for many uses.
As far as your version numbers, I'm not sure where you're getting
those. It looks like you might have the centosplus repository
enabled, which has packages that are not standard. The main repo has
the file: postfix-2.3.3-2.i386.rpm, and for me:
# postconf -a
cyrus
dovecot
This is on a CentOS 5.1 system.
Also, breaking the package management system should be seen as the
ultimate sin, not just a mere inconvenience. The package management
system is the very reason that one uses an enterprise-grade OS like
centos. I agree that if ABSOLUTELY necessary, one should compile to
an rpm first, then install the rpm.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]