Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries



Links

Issociate
Impressum

#1: Simple question on sendmail log files for Solaris 10

Posted on 2005-11-30 20:37:59 by KarlD

Hi,

Just installed Solaris 10 and I was wondering where is the
standard directory in Solaris 10 where the sendmail log, error
and warning files get stored?
It seems different from Solaris 8. In fact there is not much of
interest
under /var/log/ in Solaris 10.

Thanks,

/Karl

Report this message

Mr Ad

Google

#2: Re: Simple question on sendmail log files for Solaris 10

Posted on 2005-11-30 21:14:11 by Lars Kellogg-Stedman

> Just installed Solaris 10 and I was wondering where is the
> standard directory in Solaris 10 where the sendmail log, error
> and warning files get stored?

Sendmail logs to syslog, so the location of your log files is determined
by /etc/syslog.conf. I haven't worked with Solaris 10, but the default
syslog configuration in previous versions of Solaris was pretty minimal;
some stuff went to /var/adm/messages, and I'm not sure if the stock
configuration enabled logging for the mail facility.

Take a look at your /etc/syslog.conf and the appropriate man pages.

-- Lars

--
Lars Kellogg-Stedman <8273grkci8q8kgt@jetable.net>
This email address will expire on 2005-11-23.

Report this message

#3: Re: Simple question on sendmail log files for Solaris 10

Posted on 2005-12-01 09:48:10 by KarlD

Thanks,

Yes the error messages from sendmail seem to appear in:
/var/adm/messages in Solaris 10.
I can see all those messages about unqualified host and domain names
I always used to get in DHCP mode when I send mail.

/Karl

Report this message

#4: Re: Simple question on sendmail log files for Solaris 10

Posted on 2005-12-01 16:12:13 by Jose Marcio Martins da Cruz

KarlD wrote:
> Thanks,
>
> Yes the error messages from sendmail seem to appear in:
> /var/adm/messages in Solaris 10.

Not really. Unless you've modified /etc/syslog.conf, you shall have
something like this at syslog.conf :

mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)

and you have also this to allow critical sendmail messages going to
/var/adm/messages

*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages


> I can see all those messages about unqualified host and domain names

Messages with critical level are sent also to /var/adm/messages


> I always used to get in DHCP mode when I send mail.
>


> /Karl
>

Report this message

#5: Re: Simple question on sendmail log files for Solaris 10

Posted on 2005-12-02 20:36:07 by KarlD

Jose Marcio Martins da Cruz wrote:

> Messages with critical level are sent also to /var/adm/messages

What defines 'critical level' of a message in Solaris 10, i.e. if I
write a start up
application script and want any error message to go to
/var/adm/messages
how to I ensure it is a critical level message. Is it that any message
directed to stderr also gets piped to /var/adm/messages ?

/Karl

Report this message