[Centos] Postfix Install error

Mon Dec 20 14:37:51 UTC 2004
Martin Hamant <mh at accelance.fr>

On Mon, 20 Dec 2004 09:23:04 -0500
Ted Kaczmarek <tedkaz at optonline.net> disait:

> On Fri, 2004-12-17 at 21:23 -0600, Mike Kercher wrote:
> > I'm trying to install postfix-2.0.16-14.RHEL on a newly installed
> > CentOS 3.3 boxen and I get the following error:
> > 
> > Preparing...               
> > ###########################################[100%]
> >    1:postfix               
> >    ###########################################
> > [100%]
> > link /usr/share/man/man8/sendmail.8.gz incorrect for slave
> > mta-sendmailman(/usr/share/man/man1/sendmail.1.gz mta-sendmailman)
> > error: %trigger(postfix-2.0.20-1.centos3.1) scriptlet failed, exit
> > status 2 link /usr/share/man/man8/sendmail.8.gz incorrect for slave
> > mta-sendmailman(/usr/share/man/man1/sendmail.1.gz mta-sendmailman)
> > link /usr/share/man/man8/sendmail.8.gz incorrect for slave
> > mta-sendmailman(/usr/share/man/man1/sendmail.1.gz mta-sendmailman)
> > error: %trigger(postfix-2.0.20-1.centos3.1) scriptlet failed, exit
> > status 2 link /usr/share/man/man8/sendmail.8.gz incorrect for slave
> > mta-sendmailman(/usr/share/man/man1/sendmail.1.gz mta-sendmailman)
> > 
> > 
> > I recompiled the .src.rpm for 2.0.20-1 and installed it and things
> > have been screwy since.  I cannot rpm -e ANY postfix package, yum
> > remove doesn't work either.  Any ideas how to get around this error?
> > 
> > Mike
> > 
> > _______________________________________________?
> 
> What url did you grab that src.rpm at?
> Maybe it was for a different distro?


Yes check that because it worked for me, except i had to complete the
following steps after installation :

rm /etc/alternatives/mta
ln -s /usr/sbin/sendmail.postfix /etc/alternatives/mta
chkconfig --add postfix

And warning, be sure that the default postfix configuration file doesn't
relay from anywhere ( mynetworks = ... ).

-- 
Martin