Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

To live is always desirable. -- Eleen the Capellan, "Friday's Child", stardate 3498.9


computers / comp.mail.sendmail / Re: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

SubjectAuthor
* Bug report - fails to log multi-line errors and warnings properly (truncates theChris Drake
+* Re: Bug report - fails to log multi-line errors and warnings properlyClaus Aßmann
|+- Re: Bug report - fails to log multi-line errors and warnings properlyGrant Taylor
|`* Re: Bug report - fails to log multi-line errors and warningsHenning Hucke
| +* Re: Bug report - fails to log multi-line errors and warningsClaus Aßmann
| |`* Re: Bug report - fails to log multi-line errors and warningsHenning Hucke
| | `* Re: Bug report - fails to log multi-line errors and warnings properlyGrant Taylor
| |  `- Re: Bug report - fails to log multi-line errors and warningsHenning Hucke
| `- Re: Bug report - fails to log multi-line errors and warnings properlyGrant Taylor
`- Re: Bug report - fails to log multi-line errors and warnings properlyClaus Aßmann

1
Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
X-Received: by 2002:a37:404a:: with SMTP id n71mr1033065qka.330.1620253316784; Wed, 05 May 2021 15:21:56 -0700 (PDT)
X-Received: by 2002:a05:6902:54e:: with SMTP id z14mr1326151ybs.333.1620253316486; Wed, 05 May 2021 15:21:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.mail.sendmail
Date: Wed, 5 May 2021 15:21:56 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2001:8000:1bed:6d00:3da4:a5d6:24d4:5d66; posting-account=UUxzTwoAAABDpcoR2a1X2xzPCiNVBLy7
NNTP-Posting-Host: 2001:8000:1bed:6d00:3da4:a5d6:24d4:5d66
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>
Subject: Bug report - fails to log multi-line errors and warnings properly (truncates the results)
From: cryptoph...@gmail.com (Chris Drake)
Injection-Date: Wed, 05 May 2021 22:21:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 20
 by: Chris Drake - Wed, 5 May 2021 22:21 UTC

I see this in debug:-

>>> RCPT To:<*@gmail.com>
>>> DATA
452-4.2.2 The email account that you tried to reach is over quota. Please direct
452-4.2.2 the recipient to
452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp e14si598114pgu.152 - gsmtp
<*@gmail.com>... Deferred: 452-4.2.2 The email account that you tried to reach is over quota. Please direct

But only this in the logs:
May 5 22:19:28 smtp sendmail[2556204]: 1459Dm7f1597664: to=<*@gmail.com>, ctladdr=<*@*.com> (515/515), delay=13:05:40, xdelay=00:00:06, mailer=esmtp, pri=128738802, relay=alt4.gmail-smtp-in.l.google.com. [74.125.200.26], dsn=4.2.2, reply=452-4.2.2 The email account that you tried to reach is over quota. Please direct, stat=Deferred: 452-4.2.2 The email account that you tried to reach is over quota. Please direct

The most important part of the error response is missing from the logs.

Re: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<s7010m$9mc$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!goblin3!goblin.stu.neva.ru!news.misty.com!.POSTED!not-for-mail
From: ml+sendm...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Bug report - fails to log multi-line errors and warnings properly
(truncates the results)
Date: Thu, 6 May 2021 06:06:14 +0000 (UTC)
Organization: MGT Consulting
Lines: 28
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <s7010m$9mc$1@news.misty.com>
References: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>
NNTP-Posting-Host: kiel.esmtp.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.misty.com 1620281174 9932 195.244.235.220 (6 May 2021 06:06:14 GMT)
X-Complaints-To: abuse@misty.com
NNTP-Posting-Date: Thu, 6 May 2021 06:06:14 +0000 (UTC)
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Thu, 6 May 2021 06:06 UTC

Chris Drake wrote:

> 452-4.2.2 The email account that you tried to reach is over quota. Please direct
> 452-4.2.2 the recipient to
> 452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp e14si598114pgu.152 - gsmtp
> <*@gmail.com>... Deferred: 452-4.2.2 The email account that you tried to reach is
> over quota. Please direct

> But only this in the logs:
> pri=128738802, relay=alt4.gmail-smtp-in.l.google.com. [74.125.200.26], dsn=4.2.2,
> reply=452-4.2.2 The email account that you tried to reach is over quota. Please
> direct, stat=Deferred: 452-4.2.2 The email account that you tried to reach is over
> quota. Please direct

> The most important part of the error response is missing from the logs.

Obviously an MTA needs to impose limits on the amount of data it logs
-- a (bogus) server might send thousands of lines as reply.
The limit in sendmail is STATLEN in deliver.c.
If your syslog() implementation can handle it, you could increase
that value and see what happens.

--
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: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<s7140n$q5r$2@tncsrv09.home.tnetconsulting.net>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Bug report - fails to log multi-line errors and warnings properly
(truncates the results)
Date: Thu, 6 May 2021 10:01:49 -0600
Organization: TNet Consulting
Message-ID: <s7140n$q5r$2@tncsrv09.home.tnetconsulting.net>
References: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>
<s7010m$9mc$1@news.misty.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 6 May 2021 16:03:35 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="26811"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.9.0
In-Reply-To: <s7010m$9mc$1@news.misty.com>
Content-Language: en-US
 by: Grant Taylor - Thu, 6 May 2021 16:01 UTC

On 5/6/21 12:06 AM, Claus Aßmann wrote:
> Obviously an MTA needs to impose limits on the amount of data it logs
> -- a (bogus) server might send thousands of lines as reply.

Agreed.

Do you know off hand if the full error is included in the eventual DSN
that Sendmail will send -- by default -- to the envelope sender?

--
Grant. . . .
unix || die

Re: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<slrns99meu.l5l.h_hucke+spam.news@romulus.aeon.icebear.cloud>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: h_hucke+...@newsmail.aeon.icebear.org (Henning Hucke)
Newsgroups: comp.mail.sendmail
Subject: Re: Bug report - fails to log multi-line errors and warnings
properly (truncates the results)
Date: Fri, 7 May 2021 06:10:38 -0000 (UTC)
Organization: aeon: think longer than you thought before
Lines: 30
Message-ID: <slrns99meu.l5l.h_hucke+spam.news@romulus.aeon.icebear.cloud>
References: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>
<s7010m$9mc$1@news.misty.com>
Reply-To: Henning Hucke <h_hucke+news.reply(trick)@newsmail.aeon.icebear.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8-Bit
X-Trace: individual.net 693I0aHJGqzP6h/Ic+VFPQsfIRjyaQz7/cHAe8ujF82f0O+CAp
X-Orig-Path: news.aeon.icebear.cloud!news1.aeon.icebear.cloud!.POSTED.romulus.aeon.icebear.cloud!not-for-mail
Cancel-Lock: sha1:er3NQMaSd+efZKCVTTq+Fbppaw4= sha1:BS0jMszbnHzE4HNJdO2E3L0CjDk=
Injection-Date: Fri, 7 May 2021 06:10:38 -0000 (UTC)
Injection-Info: sirius.aeon.icebear.cloud; posting-host="romulus.aeon.icebear.cloud:fd09:afca:b044:1:4ecc:6aff:fecf:5c8f";
logging-data="29117"; mail-complaints-to="abuse+news@aeon.icebear.cloud"
User-Agent: slrn/1.0.3 (Linux)
 by: Henning Hucke - Fri, 7 May 2021 06:10 UTC

On 2021-05-06, Claus Aßmann <ml+sendmail@esmtp.org> wrote:

Hi Claus,

> Chris Drake wrote:
>
>> 452-4.2.2 The email account that you tried to reach is over quota. Please direct
>> 452-4.2.2 the recipient to
>> 452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp e14si598114pgu.152 - gsmtp
>> <*@gmail.com>... Deferred: 452-4.2.2 The email account that you tried to reach is
>> over quota. Please direct
> [...]
>
> Obviously an MTA needs to impose limits on the amount of data it logs
> -- a (bogus) server might send thousands of lines as reply.
> The limit in sendmail is STATLEN in deliver.c.
> If your syslog() implementation can handle it, you could increase
> that value and see what happens.

on the other hand the RFCs clearly state that these are *folded* lines
so you clould reintegrate the multiple lines into one and impose limits
on this single line - for instance by limiting the line length to what
fits into a single UDP packet (for the case that it is sent via
classical syslog) and overread the rest.

Best regards,
Henning Hucke
--
How many bits would a BitBlit blit if a BitBlit could blit bits?
-- macanespie@waves.pas.ti.com in <1993Nov16.130625.1@waves.pas.ti.com>

Re: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<s7308j$gci$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!goblin1!goblin3!goblin.stu.neva.ru!news.misty.com!.POSTED!not-for-mail
From: ml+sendm...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Bug report - fails to log multi-line errors and warnings
properly (truncates the results)
Date: Fri, 7 May 2021 09:11:47 +0000 (UTC)
Organization: MGT Consulting
Lines: 21
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <s7308j$gci$1@news.misty.com>
References: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com> <s7010m$9mc$1@news.misty.com> <slrns99meu.l5l.h_hucke+spam.news@romulus.aeon.icebear.cloud>
NNTP-Posting-Host: kiel.esmtp.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.misty.com 1620378707 16786 195.244.235.220 (7 May 2021 09:11:47 GMT)
X-Complaints-To: abuse@misty.com
NNTP-Posting-Date: Fri, 7 May 2021 09:11:47 +0000 (UTC)
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Fri, 7 May 2021 09:11 UTC

Henning Hucke wrote:

> >> 452-4.2.2 The email account that you tried to reach is over quota. Please direct
> >> 452-4.2.2 the recipient to
> >> 452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp e14si598114pgu.152 - gsmtp
> >> <*@gmail.com>... Deferred: 452-4.2.2 The email account that you tried to reach is
> >> over quota. Please direct

> on the other hand the RFCs clearly state that these are *folded* lines

Can you please tell me which RFC talks about "folded" lines wrt
"Simple Mail Transfer Protocol"?

Folding is mentioned in "Internet Message Format",
but that does not apply here (AFAICT).

--
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: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<s744p6$uh2$1@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!4.us.feeder.erje.net!feeder.erje.net!goblin1!goblin3!goblin.stu.neva.ru!news.misty.com!.POSTED!not-for-mail
From: ml+sendm...@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: Bug report - fails to log multi-line errors and warnings properly
(truncates the results)
Date: Fri, 7 May 2021 19:35:02 +0000 (UTC)
Organization: MGT Consulting
Lines: 46
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <s744p6$uh2$1@news.misty.com>
References: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>
NNTP-Posting-Host: kiel.esmtp.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.misty.com 1620416102 31266 195.244.235.220 (7 May 2021 19:35:02 GMT)
X-Complaints-To: abuse@misty.com
NNTP-Posting-Date: Fri, 7 May 2021 19:35:02 +0000 (UTC)
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Fri, 7 May 2021 19:35 UTC

Chris Drake wrote:

> 452-4.2.2 The email account that you tried to reach is over quota. Please direct
> 452-4.2.2 the recipient to
> 452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp e14si598114pgu.152 - gsmtp
> <*@gmail.com>... Deferred: 452-4.2.2 The email account that you tried to reach is
> over quota. Please direct

> But only this in the logs:
[first line only]

Maybe try this patch -- it's just a hack and barely tested -- use
at your own risk etc...
Let me know if it works.

diff --git a/sendmail/usersmtp.c b/sendmail/usersmtp.c
index 1ec64ea..cbb7e0c 100644
--- a/sendmail/usersmtp.c
+++ b/sendmail/usersmtp.c
@@ -3407,6 +3407,26 @@ reply(m, mci, e, timeout, pfunc, enhstat, rtype)
, rtype, e->e_text);
}
}
+#if _FFR_REPLY_MULTILINE
+ if ((REPLYTYPE(r) > 3 && !firstline && e->e_text != NULL &&
+ rtype != XS_QUIT) || tTd(87, 101))
+ {
+ int len;
+ char *new;
+ + /* skip the same stuff or use o? */
+ /* but o is a local variable in the block above */
+ len = strlen(e->e_text) + strlen(bufp) + 3;
+ if (len < 1024 /* XXX proper limit? */
+ && (new = (char *) sm_rpool_malloc(e->e_rpool, len))
+ != NULL)
+ {
+ sm_strlcpyn(new, len, 3, e->e_text, "; ",
+ bufp /* + o */);
+ e->e_text = new;
+ }
+ }
+#endif /* _FFR_REPLY_MULTILINE */
firstline = false;

Re: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<s7475d$osi$1@tncsrv09.home.tnetconsulting.net>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Bug report - fails to log multi-line errors and warnings properly
(truncates the results)
Date: Fri, 7 May 2021 14:13:53 -0600
Organization: TNet Consulting
Message-ID: <s7475d$osi$1@tncsrv09.home.tnetconsulting.net>
References: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>
<s7010m$9mc$1@news.misty.com>
<slrns99meu.l5l.h_hucke+spam.news@romulus.aeon.icebear.cloud>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 7 May 2021 20:15:41 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="25490"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.9.0
In-Reply-To: <slrns99meu.l5l.h_hucke+spam.news@romulus.aeon.icebear.cloud>
Content-Language: en-US
 by: Grant Taylor - Fri, 7 May 2021 20:13 UTC

On 5/7/21 12:10 AM, Henning Hucke wrote:
> on the other hand the RFCs clearly state that these are *folded* lines
> so you clould reintegrate the multiple lines into one and impose limits
> on this single line

Why would you do that?

The only line length limits I recall seeing are related to how long a
given line can be as transmitted. This seems to apply to the folded
form, not the unfolded / aggregate line length.

> for instance by limiting the line length to what fits into a single
> UDP packet (for the case that it is sent via classical syslog) and
> overread the rest.

I remember (tell of) a time when UDP didn't like packets longer than 512
bytes. I believe the SMTP line length is 1000 characters, including the
trailing <CR><LF>. So ... it seems like it would be trivial to exceed
the 512 byte limit of UDP of old.

Thankfully these are completely unrelated things and don't need to be
made to work together. Much like how loud I type and how much weight
you can carry up a flight of stairs.

--
Grant. . . .
unix || die

Re: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<slrns9dnrn.60j.h_hucke+spam.news@romulus.aeon.icebear.cloud>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: h_hucke+...@newsmail.aeon.icebear.org (Henning Hucke)
Newsgroups: comp.mail.sendmail
Subject: Re: Bug report - fails to log multi-line errors and warnings
properly (truncates the results)
Date: Sat, 8 May 2021 18:59:04 -0000 (UTC)
Organization: aeon: think longer than you thought before
Lines: 39
Message-ID: <slrns9dnrn.60j.h_hucke+spam.news@romulus.aeon.icebear.cloud>
References: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>
<s7010m$9mc$1@news.misty.com>
<slrns99meu.l5l.h_hucke+spam.news@romulus.aeon.icebear.cloud>
<s7308j$gci$1@news.misty.com>
Reply-To: Henning Hucke <h_hucke+news.reply(trick)@newsmail.aeon.icebear.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8-Bit
X-Trace: individual.net zjlgkyV4CRfqQutDT98nowbNzdxdVpbbELLvMoXwaECOXIp8xi
X-Orig-Path: news.aeon.icebear.cloud!news1.aeon.icebear.cloud!.POSTED.romulus.aeon.icebear.cloud!not-for-mail
Cancel-Lock: sha1:dZVD/zOI4IT70Fh8Sl9UpK/B1A4= sha1:jHcC01lCcyakn2qHt098DhxDOG8=
Injection-Date: Sat, 8 May 2021 18:59:04 -0000 (UTC)
Injection-Info: sirius.aeon.icebear.cloud; posting-host="romulus.aeon.icebear.cloud:fd09:afca:b044:1:4ecc:6aff:fecf:5c8f";
logging-data="498"; mail-complaints-to="abuse+news@aeon.icebear.cloud"
User-Agent: slrn/1.0.3 (Linux)
 by: Henning Hucke - Sat, 8 May 2021 18:59 UTC

On 2021-05-07, Claus Aßmann <ml+sendmail@esmtp.org> wrote:

Hi Claus,

> Henning Hucke wrote:
>
>> >> 452-4.2.2 The email account that you tried to reach is over quota. Please direct
>> >> 452-4.2.2 the recipient to
>> >> 452 4.2.2 https://support.google.com/mail/?p=OverQuotaTemp e14si598114pgu.152 - gsmtp
>> >> <*@gmail.com>... Deferred: 452-4.2.2 The email account that you tried to reach is
>> >> over quota. Please direct
>
>> on the other hand the RFCs clearly state that these are *folded* lines
>
> Can you please tell me which RFC talks about "folded" lines wrt
> "Simple Mail Transfer Protocol"?
>
> Folding is mentioned in "Internet Message Format",
> but that does not apply here (AFAICT).

possibly I formulated in a sloppy way.

RFC 5321 page 49 speaks about a "multi line reply" and states an example
which uses the "dash space" between the reply code and the message to
indicate that a reply is not yet complete.

In a sloppy kind of way I understand this as "folding" or more precise:
as the protocol way to fold a message into multiple lines.

Since this kind of reply is in the end a whole I rate it as legit to
want this to show up as such in the longs instead of being spread
accross multiple log lines.

Best regards
Henning Hucke
--
Forecast, n:
A prediction of the future, based on the past, for
which the forecaster demands payment in the present.

Re: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<s77fnd$cos$1@tncsrv09.home.tnetconsulting.net>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.alpha.home.tnetconsulting.net!not-for-mail
From: gtay...@tnetconsulting.net (Grant Taylor)
Newsgroups: comp.mail.sendmail
Subject: Re: Bug report - fails to log multi-line errors and warnings properly
(truncates the results)
Date: Sat, 8 May 2021 19:58:22 -0600
Organization: TNet Consulting
Message-ID: <s77fnd$cos$1@tncsrv09.home.tnetconsulting.net>
References: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>
<s7010m$9mc$1@news.misty.com>
<slrns99meu.l5l.h_hucke+spam.news@romulus.aeon.icebear.cloud>
<s7308j$gci$1@news.misty.com>
<slrns9dnrn.60j.h_hucke+spam.news@romulus.aeon.icebear.cloud>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 9 May 2021 02:00:13 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251";
logging-data="13084"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.9.0
In-Reply-To: <slrns9dnrn.60j.h_hucke+spam.news@romulus.aeon.icebear.cloud>
Content-Language: en-US
 by: Grant Taylor - Sun, 9 May 2021 01:58 UTC

On 5/8/21 12:59 PM, Henning Hucke wrote:
> RFC 5321 page 49 speaks about a "multi line reply" and states an
> example which uses the "dash space" between the reply code and the
> message to indicate that a reply is not yet complete.
>
> In a sloppy kind of way I understand this as "folding" or more precise:
> as the protocol way to fold a message into multiple lines.

Oy vey! Term collision! (At least for me.)

I now understand that when you say "message", you are talking about the
SMTP response message. Not the content that is sent as part of the DATA
phase.

I now understand that when you say "folding", you are referring to a
multi-line SMTP response.

*blink*

I can see how those two disparate things can use similar terms. But ...
wow ... I did not realize that until reading the message that I'm
replying to. I really thought you were talking about something in the
content of the DATA phase.

> Since this kind of reply is in the end a whole I rate it as legit
> to want this to show up as such in the longs instead of being spread
> accross multiple log lines.

You're asking for Sendmail to unwrap multi-line SMTP replies and log
them as a single line. Correct?

--
Grant. . . .
unix || die

Re: Bug report - fails to log multi-line errors and warnings properly (truncates the results)

<slrns9gd36.e3q.h_hucke+spam.news@romulus.aeon.icebear.cloud>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: h_hucke+...@newsmail.aeon.icebear.org (Henning Hucke)
Newsgroups: comp.mail.sendmail
Subject: Re: Bug report - fails to log multi-line errors and warnings
properly (truncates the results)
Date: Sun, 9 May 2021 19:13:42 -0000 (UTC)
Organization: aeon: think longer than you thought before
Lines: 29
Message-ID: <slrns9gd36.e3q.h_hucke+spam.news@romulus.aeon.icebear.cloud>
References: <ff421f92-49b0-462d-90f4-d3ce8cc98910n@googlegroups.com>
<s7010m$9mc$1@news.misty.com>
<slrns99meu.l5l.h_hucke+spam.news@romulus.aeon.icebear.cloud>
<s7308j$gci$1@news.misty.com>
<slrns9dnrn.60j.h_hucke+spam.news@romulus.aeon.icebear.cloud>
<s77fnd$cos$1@tncsrv09.home.tnetconsulting.net>
Reply-To: Henning Hucke <h_hucke+news.reply(trick)@newsmail.aeon.icebear.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8-Bit
X-Trace: individual.net 4LPuOWkwvKtlwVjQQENzywlIpmax52RpGfwS7PlCQiG5eBNKO7
X-Orig-Path: news.aeon.icebear.cloud!news1.aeon.icebear.cloud!.POSTED.romulus.aeon.icebear.cloud!not-for-mail
Cancel-Lock: sha1:4Gv2qCzEl5ZvoJhTAbnqJ8U4VFM= sha1:30UUFOTGzpfkggCnEaSWcyPqLtc=
Injection-Date: Sun, 9 May 2021 19:13:42 -0000 (UTC)
Injection-Info: sirius.aeon.icebear.cloud; posting-host="romulus.aeon.icebear.cloud:fd09:afca:b044:1:4ecc:6aff:fecf:5c8f";
logging-data="25179"; mail-complaints-to="abuse+news@aeon.icebear.cloud"
User-Agent: slrn/1.0.3 (Linux)
 by: Henning Hucke - Sun, 9 May 2021 19:13 UTC

On 2021-05-09, Grant Taylor <gtaylor@tnetconsulting.net> wrote:

Hi Grant,

> [...]
> I now understand that when you say "message", you are talking about the
> SMTP response message. Not the content that is sent as part of the DATA
> phase.
>
> I now understand that when you say "folding", you are referring to a
> multi-line SMTP response.

mind the thread subject...

> [...]
>> Since this kind of reply is in the end a whole I rate it as legit
>> to want this to show up as such in the longs instead of being spread
>> accross multiple log lines.
>
> You're asking for Sendmail to unwrap multi-line SMTP replies and log
> them as a single line. Correct?

I expose my/an opinion about the original content of this thread...

Best regards,
Henning Hucke
--
Honesty is for the most part less profitable than dishonesty.
-- Plato

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor