Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

It's hard to think of you as the end result of millions of years of evolution.


computers / comp.mail.sendmail / Re: Milter "time command".

SubjectAuthor
* Milter "time command".G.W. Haywood
`* Re: Milter "time command".Claus Aßmann
 `* Re: Milter "time command".G.W. Haywood
  `* Re: Milter "time command".Claus Aßmann
   `- Re: Milter "time command".G.W. Haywood

1
Milter "time command".

<33482263-6514-f59c-6e8a-f33ba92f40f8@jubileegroup.co.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=309&group=comp.mail.sendmail#309

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!pR9v06A675l1SjmEWPrqYQ.user.46.165.242.91.POSTED!not-for-mail
From: com.mail.sendmail@jubileegroup.co.uk (G.W. Haywood)
Newsgroups: comp.mail.sendmail
Subject: Milter "time command".
Date: Sun, 24 Oct 2021 13:43:27 +0100
Organization: Aioe.org NNTP Server
Message-ID: <33482263-6514-f59c-6e8a-f33ba92f40f8@jubileegroup.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Injection-Info: gioia.aioe.org; logging-data="10585"; posting-host="pR9v06A675l1SjmEWPrqYQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: G.W. Haywood - Sun, 24 Oct 2021 12:43 UTC

A little over 20 years ago (8th September 2001, the release of 8.12.0)
amongst other things some logging was added to .../sendmail/milter.c:

+ if (MilterLogLevel > 21)
+ tn = curtime();
+ response = milter_send_command(m, command, data ... );
+ + if (MilterLogLevel > 21)
+ {
+ /* log the time it took for the command per filter */
+ sm_syslog(LOG_INFO, e->e_id,
+ "Milter (%s): time command (%c), %d",
+ m->mf_name, command, (int) (tn - curtime()));

The intention appears to be to log the duration of a milter call.

The code in this area in version 8.17.1 is almost unchanged.

There are two problems with it.

1. If the time logged is non-zero, it will be negative.

2. In the last 20 years things have moved on a little, and an integer
seconds value isn't as useful as it might once have been. Less than
20% of the values in my logs are negative, the remainder being zero.

At first I wondered if a patch might break things for people, but now
I reason that if nobody has worried about this for two decades, then
that probably won't be a widespread issue.

Would a patch to address the precision of the result - microseconds
might be more appropriate - and its sign be welcomed? Perhaps the
version with greater precision should be FFR.

73,
Ged.

Re: Milter "time command".

<sl8a5h$t4n$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=310&group=comp.mail.sendmail#310

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Milter "time command".
Date: Tue, 26 Oct 2021 07:19:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 12
Sender: <ca+sendmail(-no-copies-please)@mine.informatik.uni-kiel.de>
Message-ID: <sl8a5h$t4n$1@dont-email.me>
References: <33482263-6514-f59c-6e8a-f33ba92f40f8@jubileegroup.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Oct 2021 07:19:13 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0117995d4dcb479fbc3e46473dd1e2b6";
logging-data="29847"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MtZuZwTXf5yqRxvTVprb0OfszxVJwPAM="
Cancel-Lock: sha1:ay90/frf//hKmsCnb0bZeTghce8=
Originator: ca@x2.esmtp.org (Claus Assmann)
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Mail-Copies-To: never
 by: Claus Aßmann - Tue, 26 Oct 2021 07:19 UTC

G.W. Haywood wrote:

> Would a patch to address the precision of the result - microseconds
> might be more appropriate - and its sign be welcomed?

You could just send a patch to the support address and ask.

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: Milter "time command".

<84289a3c-8fb6-d1d0-fdec-add924dad8f8@jubileegroup.co.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=311&group=comp.mail.sendmail#311

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!pR9v06A675l1SjmEWPrqYQ.user.46.165.242.91.POSTED!not-for-mail
From: comp.mail.sendmail@jubileegroup.co.uk (G.W. Haywood)
Newsgroups: comp.mail.sendmail
Subject: Re: Milter "time command".
Date: Tue, 26 Oct 2021 15:56:53 +0100
Organization: Aioe.org NNTP Server
Message-ID: <84289a3c-8fb6-d1d0-fdec-add924dad8f8@jubileegroup.co.uk>
References: <33482263-6514-f59c-6e8a-f33ba92f40f8@jubileegroup.co.uk> <sl8a5h$t4n$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Info: gioia.aioe.org; logging-data="8932"; posting-host="pR9v06A675l1SjmEWPrqYQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: G.W. Haywood - Tue, 26 Oct 2021 14:56 UTC

On Tue, 26 Oct 2021, Claus Assmann wrote:

> G.W. Haywood wrote:
>
>> Would a patch to address the precision of the result - microseconds
>> might be more appropriate - and its sign be welcomed?
>
> You could just send a patch to the support address and ask.

Done.

Re: Milter "time command".

<sl9a49$co0$1@news.misty.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=312&group=comp.mail.sendmail#312

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.veps.esmtp.org!not-for-mail
From: INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Milter "time command".
Date: Tue, 26 Oct 2021 12:24:41 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <sl9a49$co0$1@news.misty.com>
References: <33482263-6514-f59c-6e8a-f33ba92f40f8@jubileegroup.co.uk> <sl8a5h$t4n$1@dont-email.me> <84289a3c-8fb6-d1d0-fdec-add924dad8f8@jubileegroup.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 26 Oct 2021 16:24:41 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="13056"; mail-complaints-to="abuse@misty.com"
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Tue, 26 Oct 2021 16:24 UTC

G.W. Haywood wrote:
> On Tue, 26 Oct 2021, Claus Assmann wrote:

> > You could just send a patch to the support address and ask.

> Done.

rcpt=<support-2021@support.sendmail.org>,status=550 5.1.1 Recipient rejected.

Didn't you get an error from your MUA or MTA?

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: Milter "time command".

<393364dd-65db-fbf0-c1a5-e59fb745f2b3@jubileegroup.co.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=314&group=comp.mail.sendmail#314

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!aioe.org!pR9v06A675l1SjmEWPrqYQ.user.46.165.242.91.POSTED!not-for-mail
From: comp.mail.sendmail@jubileegroup.co.uk (G.W. Haywood)
Newsgroups: comp.mail.sendmail
Subject: Re: Milter "time command".
Date: Fri, 29 Oct 2021 12:21:20 +0100
Organization: Aioe.org NNTP Server
Message-ID: <393364dd-65db-fbf0-c1a5-e59fb745f2b3@jubileegroup.co.uk>
References: <33482263-6514-f59c-6e8a-f33ba92f40f8@jubileegroup.co.uk> <sl8a5h$t4n$1@dont-email.me> <84289a3c-8fb6-d1d0-fdec-add924dad8f8@jubileegroup.co.uk> <sl9a49$co0$1@news.misty.com>
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Injection-Info: gioia.aioe.org; logging-data="50350"; posting-host="pR9v06A675l1SjmEWPrqYQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: G.W. Haywood - Fri, 29 Oct 2021 11:21 UTC

On Tue, 26 Oct 2021, Claus Assmann wrote:

> G.W. Haywood wrote:
> > On Tue, 26 Oct 2021, Claus Assmann wrote:
>
> > > You could just send a patch to the support address and ask.
>
> > Done.
>
> rcpt=<support-2021@support.sendmail.org>,status=550 5.1.1 Recipient rejected.
>
> Didn't you get an error from your MUA or MTA?

Yes, but I didn't have time to jump through any more hoops just yet.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor