Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

There is no distinction between any AI program and some existent game.


computers / comp.mail.sendmail / Re: shortening dsn text in logs

SubjectAuthor
* shortening dsn text in logsNone
`* Re: shortening dsn text in logsClaus Aßmann
 `- Re: shortening dsn text in logsNone

1
shortening dsn text in logs

<t2c4is$epf$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hzcnjkx656@tormails.com (None)
Newsgroups: comp.mail.sendmail
Subject: shortening dsn text in logs
Date: Sun, 3 Apr 2022 14:39:54 +0200
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <t2c4is$epf$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Apr 2022 12:39:56 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="aab0463068925aefd5bcc06c9f3fa765";
logging-data="15151"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7Tf3Gn39FU/AZ2YVnDmcsePqMF4mh4DP/gMcFE3CBSg=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:eIUlGiq/XhlC7fvA/HgTgWTOdLM=
Content-Language: en-US
 by: None - Sun, 3 Apr 2022 12:39 UTC

I was wondering if I can shortening the error messages, but keep the
error codes in the logs eg.

sendmail[19814]: ruleset=check_relay, arg1=[46.165.253.92],
arg2=46.165.253.92, relay=mail.gryazovets.com [46.165.253.92] (may be
forged), reject=451 4.1.8 Possibly forged hostname for 46.165.253.92

to

sendmail[19814]: ruleset=check_relay, arg1=[46.165.253.92],
arg2=46.165.253.92, relay=mail.gryazovets.com [46.165.253.92] (may be
forged), reject=451 4.1.8

Re: shortening dsn text in logs

<t2chtn$lnh$1@news.misty.com>

  copy mid

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

  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: shortening dsn text in logs
Date: Sun, 3 Apr 2022 12:27:35 -0400 (EDT)
Organization: MGT Consulting
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <t2chtn$lnh$1@news.misty.com>
References: <t2c4is$epf$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 3 Apr 2022 16:27:35 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="veps.esmtp.org:155.138.203.148";
logging-data="22257"; 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 - Sun, 3 Apr 2022 16:27 UTC

None wrote:

> I was wondering if I can shortening the error messages, but keep the
> error codes in the logs eg.

Why?

> forged), reject=451 4.1.8 Possibly forged hostname for 46.165.253.92

> sendmail[19814]: ruleset=check_relay, arg1=[46.165.253.92],
> arg2=46.165.253.92, relay=mail.gryazovets.com [46.165.253.92] (may be
> forged), reject=451 4.1.8

You have to change the source code to do that. If you want to save
a few bytes, wouldn't it make sense not to log other things (e.g.,
argx=...)?

--
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: shortening dsn text in logs

<t2ka7j$b2$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: hzcnjkx656@tormails.com (None)
Newsgroups: comp.mail.sendmail
Subject: Re: shortening dsn text in logs
Date: Wed, 6 Apr 2022 17:05:22 +0200
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <t2ka7j$b2$1@dont-email.me>
References: <t2c4is$epf$1@dont-email.me> <t2chtn$lnh$1@news.misty.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 6 Apr 2022 15:05:23 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b9c4932be2845ccb460b66cb5b0f2f99";
logging-data="354"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Jg4Ijfb7VaWefe6z++AjaF6vvhZLFDuMWk/tiRg6lmw=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.1
Cancel-Lock: sha1:+EkfY3fQf0Y01nbleprq9dgjj2Q=
In-Reply-To: <t2chtn$lnh$1@news.misty.com>
Content-Language: en-US
 by: None - Wed, 6 Apr 2022 15:05 UTC

>
>> I was wondering if I can shortening the error messages, but keep the
>> error codes in the logs eg.
>
> Why?

I am going to start using more informative dsn replies with quite some
text, no need to have this constantly logged. Just a waste of energy.

>
>> forged), reject=451 4.1.8 Possibly forged hostname for 46.165.253.92
>
>> sendmail[19814]: ruleset=check_relay, arg1=[46.165.253.92],
>> arg2=46.165.253.92, relay=mail.gryazovets.com [46.165.253.92] (may be
>> forged), reject=451 4.1.8
>
> You have to change the source code to do that. If you want to save
> a few bytes, wouldn't it make sense not to log other things (e.g.,
> argx=...)?
>

I have no idea what argx= is doing. However I would like to know/log
what error codes are being reported back.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor