On Thu, Apr 21, 2011 at 11:18:26AM -0500, li...@vfemail.net wrote:
> Quoting "Dennis Guhl" <li...@dguhl.org>:
> >On Thu, Apr 21, 2011 at 09:50:40AM -0500, li...@vfemail.net wrote:
> >>On my system /usr/lib/sendmail is pointing to the wrong
> >>direction, see below:
> >
> >[..]
> >
> >>So, where should I look to find the sendmail of postfix? Or how can
> >>I find postfix's sendmail without recompiling postfix again?
> >
> ># postconf | grep sendmail_path
> 
> [root@mx ~]# postconf | grep sendmail_path
> sendmail_path = /usr/sbin/sendmail

BTW "postconf sendmail_path" is enough. No need for grep here.

> [root@mx ~]#
> 
> I've checked config file before to post here. On my system
> /usr/sbin/sendmail is pointing to /etc/alternatives/mta-sendmail
> which is pointing to /usr/lib/sendmail.exim which is pointing to
> /usr/sbin/exim which belong to exim-4.63-5.el5_5.1 (see my past
> post).
> 
> Normally, sendmail (from postfix install) should be somewhere ...
> else, I cannot understand how is possible to work this server...
> 
> Doing one search and looking on enire system to find
> files/directories at the date which postfix has been installed, I
> found the following files and directories. So, one of them should be
> used as sendmail. Which one?
> 
> /home/postfix/.bash_history

The "postfix" user (or "postconf mail_owner" to be precise) should 
not have a $HOME nor a valid $SHELL. This was probably incorrectly 
installed. See:
    http://www.postfix.org/INSTALL.html

> /etc/postfix/makedefs.out
snip

> As you can see, sendmail does not appear ... How can I fix it?

This could be ugly. Installation from source, even correctly done, 
interferes with OS features like this "alternatives" thing. It is 
well worth your while to spend some time learning how properly to 
manage your OS before undertaking mail admin.

With Redhat-based systems, I suggest using Simon Mudd's SRPMs for a
recent Postfix release.

As to how to repair the damage, that would be a matter for your 
CentOS documentation and forums. Good luck.
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to