[Postfixbuch-users] OT: maximale Zeilenlänge bei SMTP

Beat Jucker Beat.Jucker at glue.ch
Mi Jul 15 14:36:52 CEST 2009


> > Ist die Länge einer Zeile, die mit dem SMTP-Protokoll übertragen werden
> > dürfen irgendwie begrenzt bzw. gibt es ein RFC was die maximale Länge
> > "festlegt"?
> 
> Ja, da war was:
> 
> smtp_line_length_limit (default: 990)
> 
>     The maximal length of message header and body lines that Postfix will
>     send via SMTP. Longer lines are broken by inserting
>     "<CR><LF><SPACE>". This minimizes the damage to MIME formatted mail.
> 
>     By default, the line length is limited to 990 characters, because
>     some server implementations cannot receive mail with long lines.
> 
> http://archives.neohapsis.com/archives/postfix/2001-04/1123.html

Und hier die entsprechenden RFC Auszuege:

RFC 821:

  text line: The maximum total length of a text line including the
  <CRLF> is 1000 characters (but not counting the leading
  dot duplicated for transparency).

RFC 2046:

  NOTE: Some protocols defines a maximum line length.  E.g. SMTP [RFC-
  821] allows a maximum of 998 octets before the next CRLF sequence.
  To be transported by such protocols, data which includes too long
  segments without CRLF sequences must be encoded with a suitable
  content-transfer-encoding.

Gruss
-- Beat



Mehr Informationen über die Mailingliste Postfixbuch-users