452-4.2.2 The email account that you tried to reach is over quota. Please directRCPT 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:
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.
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.
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
452-4.2.2 The email account that you tried to reach is over quota. Please direct[first line only]
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:
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.
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).
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.
[...]
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.
[...]
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?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 403 |
Nodes: | 16 (2 / 14) |
Uptime: | 111:51:10 |
Calls: | 8,465 |
Calls today: | 2 |
Files: | 13,181 |
Messages: | 5,909,940 |