Re: syslogd and sendmail question: I removed maillog

Liste des GroupesRevenir à cubf misc 
Sujet : Re: syslogd and sendmail question: I removed maillog
De : news0009 (at) *nospam* eager.cx (Bob Eager)
Groupes : comp.unix.bsd.freebsd.misc
Date : 05. Nov 2024, 23:41:20
Autres entêtes
Message-ID : <lovl8gFh8vdU2@mid.individual.net>
References : 1
User-Agent : Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2)
On Tue, 05 Nov 2024 19:21:38 -0300, Wolfgang Agnes wrote:

I changed the timezone in my system and decided to start over with the
mail log.  Without stopping sendmail, I removed /var/log/maillog.  Then
I stopped it and started it.  I did not see a new maillog being created.
I then restarted syslogd.  And also restarted sendmail.  Still no
maillog.  I tried touching maillog and set the same permissions as the
old file, which I renamed.  No messages written to maillog this way.  I
looked at /var/log/messages to see if maybe mail messages were being
logged there---I saw some, but they were still in the previous timezone,
so they were not new.  I'm puzzled.  How wrong was what I did?

Best way to recreate any longfile is illustrated by this example for
maillog:

  rm -f /var/log/maillog
  newsyslog -C /var/log/maillog

--
Using UNIX since v6 (1975)...

Use the BIG mirror service in the UK:
 http://www.mirrorservice.org

Date Sujet#  Auteur
5 Nov 24 * syslogd and sendmail question: I removed maillog3Wolfgang Agnes
5 Nov 24 `* Re: syslogd and sendmail question: I removed maillog2Bob Eager
6 Nov 24  `- Re: syslogd and sendmail question: I removed maillog1Wolfgang Agnes

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal