Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

How apt the poor are to be proud. -- William Shakespeare, "Twelfth-Night"


comp / comp.unix.bsd.freebsd.misc / syslogd and sendmail question: I removed maillog

SubjectAuthor
* syslogd and sendmail question: I removed maillogWolfgang Agnes
`* Re: syslogd and sendmail question: I removed maillogBob Eager
 `- Re: syslogd and sendmail question: I removed maillogWolfgang Agnes

1
Subject: syslogd and sendmail question: I removed maillog
From: Wolfgang Agnes
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Tue, 5 Nov 2024 22:21 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wagnes@jemoni.to (Wolfgang Agnes)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: syslogd and sendmail question: I removed maillog
Date: Tue, 05 Nov 2024 19:21:38 -0300
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <87fro5nwy5.fsf@jemoni.to>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Tue, 05 Nov 2024 23:21:44 +0100 (CET)
Injection-Info: dont-email.me; posting-host="b13872127e8275801f8ca0eb3286b883";
logging-data="1832177"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+v3EIrAoMP8GoBhQrJ6rmU4ZeB4gxz11Q="
Cancel-Lock: sha1:3VU+1+jgOFCBG7yl2DTGo/rBWXc=
sha1:ofeJs9fsgzeJN84RcielOnAv9W0=
View all headers

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?

Subject: Re: syslogd and sendmail question: I removed maillog
From: Bob Eager
Newsgroups: comp.unix.bsd.freebsd.misc
Date: Tue, 5 Nov 2024 22:41 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0009@eager.cx (Bob Eager)
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)
View all headers

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

Subject: Re: syslogd and sendmail question: I removed maillog
From: Wolfgang Agnes
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Wed, 6 Nov 2024 00:32 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wagnes@jemoni.to (Wolfgang Agnes)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: syslogd and sendmail question: I removed maillog
Date: Tue, 05 Nov 2024 21:32:05 -0300
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <87ed3pkxru.fsf@jemoni.to>
References: <87fro5nwy5.fsf@jemoni.to> <lovl8gFh8vdU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 06 Nov 2024 01:32:07 +0100 (CET)
Injection-Info: dont-email.me; posting-host="3a024203ed4b4dc2f11f6dc7682e8355";
logging-data="1875058"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TbTFlcL9XXMZPj/Vk08R40D5biWel0XQ="
Cancel-Lock: sha1:942IV0DpUKKtTSVTxztsd5ky/9Q=
sha1:eU+IPHhta4NNOxxVG2+XXAIbey0=
View all headers

Bob Eager <news0009@eager.cx> writes:

> 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

Thanks! That did it. I had to issue the newsyslog command and then
restart syslogd. (As soon as I'm done with Sendmail, I'll read a book
on syslogd.)

1

rocksolid light 0.9.8
clearnet tor