[imp] RFC, 1000 chars and To field

lst_hoe lst_hoe at kwsoft.de
Wed Dec 4 08:57:00 2002


At 09:24 04.12.2002 +0100, Santiago Romero wrote:
>
>  http://www.faqs.org/rfcs/rfc821.html
>
>  (headers):
>
>  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).
>
>> Most mailservers have a configurable number for RCPT TO addresses per
>> mail.
>
> That number is intended to LIMIT still more the number of addresses,
>not to increase it over 1000 :(
>
> (Anyway, I'm using qmail).

This is related to text lines in the mail-body. The relevant part is below
(from RFC 821) :

recipients buffer

The maximum total number of recipients that must be
buffered is 100 recipients.

****************************************************
*                                                  *
*  TO THE MAXIMUM EXTENT POSSIBLE, IMPLEMENTATION  *
*  TECHNIQUES WHICH IMPOSE NO LIMITS ON THE LENGTH *
*  OF THESE OBJECTS SHOULD BE USED.                *
*                                                  *
****************************************************

That means if your mailserver support it (as it should according to RFC)
you can have more than 1000 RCPT-TO. By sending it the mailserver than have
to split this to chunks the remote can handle.

BTW : You should not send lists with all addresses in RCPT-TO because of
privacy anyway.

Regards


--

Andreas Hödle

"Those who give up essential liberties for temporary safety deserve
neither liberty nor safety." - Benjamin Franklin


More information about the imp mailing list