Deutsch English Français Italiano |
<lovl8gFh8vdU2@mid.individual.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.nobody.at!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bob Eager <news0009@eager.cx> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: syslogd and sendmail question: I removed maillog Date: 5 Nov 2024 22:41:20 GMT Lines: 23 Message-ID: <lovl8gFh8vdU2@mid.individual.net> References: <87fro5nwy5.fsf@jemoni.to> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net xzK0bCy/BJ3ySQ8BGUPXQQAC9D6A3ZM9n9eznrb5jnilheq9u/ Cancel-Lock: sha1:CtnJRuxzhThOPuzOsskRmgRYYJM= sha256:JMq1tEr7Gm1yRGIW8RIOT2Qh8uIOQlctralymuTOTXk= User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a git.gnome.org/pan2) Bytes: 1760 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