OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: error writing to filter -- Who are you?

From: Brian Evans - Postfix List (grknightscent-team.com)
Date: Mon Aug 04 2008 - 08:07:54 CDT


email builder wrote:
> /usr/sbin/sendmail --> /etc/alternatives/mta --> /usr/sbin/sendmail.sendmail
>
> First I just changed that last symlink to point to /usr/sbin/sendmail.postfix, but when starting postfix I get:
>
> postfix/postfix-script: warning: /usr/lib/sendmail and /usr/sbin/sendmail differ
> postfix/postfix-script: warning: Replace one by a symbolic link to the other
> postfix/postfix-script: starting the Postfix mail system
>
> More Googling - not many results. OK, OK, I'll try to understand what this all means. Google still didn't give me much, but I see it's some dumb package switcher.
>
> man alternatives
> http://dailypackage.fedorabook.com/index.php?/archives/6-Wednesday-Why-The-Alternatives-System.html
> http://linux.derkeiler.com/Mailing-Lists/RedHat/2004-08/0256.html
>
> That's about all I found, but it's enough. Personally, this seems ridiculous to me, but oh well. I changed all the symlinks for both the mta stuff and the pam stuff back to what they were in the first place (and edited the correct pam.d/smtp.postfix file) and did it the "Right Way":
>
> alternatives --set mta /usr/sbin/sendmail.postfix
>
A much easier way to solve this and prevent errors in the future is 'rpm
-e sendmail'.

The sendmail package will *not* remove Postfix's sendmail client.

Brian