OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: all outgoing mail is written as userlocalhost.localdomain

From: /dev/rob0 (rob0gmx.co.uk)
Date: Mon Nov 21 2005 - 07:31:20 CST


On Monday 2005-November-21 07:11, Aaron Harwood wrote:
> On 21/11/2005, at 11:54 PM, /dev/rob0 wrote:
> > On Monday 2005-November-21 06:44, Aaron Harwood wrote:
> >>> Uninstall sendmail!

This is the simple fix, or to be precise, the simple change which would
put your Postfix configuration in charge of what happens to mail on
your system. (There may be something else wrong that I missed.) If you
are going to use Postfix, there is no need for sendmail.org's MTA to be
installed.

So why not do it?

> >> /usr/sbin/serviceconf reports that sendmail is not running.
> >>
> >> Something must be calling it, but what?
> >
> > If uninstalled, nothing could call it.

There's that advice again. :)

And this just in, in the other subthread: you said you don't know how.
That would be an issue for your OS's packaging system, most likely.
Perhaps "man rpm" would be a start for Red Hat derivatives. I missed it
if you said what your OS was.

Generic advice: find documentation for your OS and become familiar with
how these things are done.

> > My guess would be that the sendmail(1) binary from sendmail is
> > being called. You should be using the sendmail from Postfix, if
> > that is the MTA you wish to use.
>
> The main.cf file for postfix has sendmail.postfix as the sendmail
> to use.

And it has no bearing whatsoever on what your programs are using. You
have something using sendmail.sendmail (or whatever it is called by
your distributor.) Probably a symlink is wrong, because programs
generally want to run /usr/lib/sendmail or /usr/sbin/sendmail.

> I guess that program is reporting itself as sendmail in the log
> file.

That guess is wrong.
--
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header