[CentOS] Sendmail logs?
Ashley M. Kirchner
ashley at pcraft.com
Tue Jan 15 21:10:28 UTC 2013
Yes it logs via syslog, however if it isn't told to log data to sm-mta and
sm-msp, no amount of syslog directive is going to do that. It's something
with the CentOS sendmail package that's disabling that.
When I do a stock Fedora install, I get three separate log files:
/var/log/maillog
/var/log/sm-mta
/var/log/sm-msp
The same thing happens if I download the tarball from sendmail.org and
install that. Three separate log files.
However, with CentOS, for some reason, it never logs anything to those sm-*
files nor are they ever created.
I guess I'll have to break the yum dependency, remove the package and
install sendmail manually to get those log files. Seems rather dumb.
On Tue, Jan 15, 2013 at 2:05 PM, Mike Burger <mburger at bubbanfriends.org>wrote:
> Doesn't really matter, though...Sendmail logs via syslog, and syslog
> usually defaults, on a RH/CentOS system, to /var/log/maillog.
>
> Double check /etc/rsyslog.log to be sure.
>
> --
> Mike Burger
> http://www.bubbanfriends.org
>
> "It's always suicide-mission this, save-the-planet that. No one ever just
> stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
>
>
> > Sure, for those who want to run Postfix that's great. In my case, we run
> > Sendmail. Simple package selection during installation.
> >
> >
> > On Tue, Jan 15, 2013 at 1:51 PM, Robert Moskowitz
> > <rgm at htt-consult.com>wrote:
> >
> >>
> >> On 01/15/2013 12:43 PM, Ashley M. Kirchner wrote:
> >>
> >>> I'm baffled ... on a stock 6.3 install, where does sendmail dump its
> >>> log
> >>> files sm-mta and sm-msp respectively? Al I can find is the statistics
> >>> file
> >>> and maillog.
> >>>
> >>
> >> My understanding is that Postfix has replaced Sendmail. At least on my
> >> 6.3 install. And I am happy for that.
> >>
> >>
> >>
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
More information about the CentOS
mailing list