LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Daryl Tester <Daryl.Tester@iocane.com.au>
  To  : D Thapa <damar@sst.com.hk>
  Date: Wed, 22 Jan 2003 19:36:55 +1030

Re: About sendmail log file

D Thapa wrote:

> When I look at the
> problem, I found that sendmail was logging in /var/log/maillog.1, instead of
> /var/log/maillog.
> 
> After running "kill -HUP <pid of syslogd>", sendmail went back to logging in
> /var/log/maillog, so poprelay started recording ip addresses accordingly.

This looks like logrotate "forgot" to sighup the syslogd daemon after
rotating the log files.

> Can some on on list give me some pointers, or direct me to relevant docs, in
> terms of sendmail's logging system? 

Sendmail uses syslog.  Other processes use syslog.  syslog is a separate,
independant system.  sendmail only sends logging "events" through to the
syslog facility; it's up to syslog (and its configuration) to then write
it to appropriate files, send it as UDP packets to other systems, etc.
You'll be wanting to look at why whatever rotated the logfiles (which is
usually logrotate) didn't signal the syslogd to reopen its log files; this
is *NOT* something that sendmail is responsible for.


-- 
Regards,
  Daryl Tester,  Software Wrangler and Bit Herder, IOCANE Pty. Ltd.

"If you've studied your Floyd properly, you'd know that pigs could fly."
  -- Primus

-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.openprojects.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page