From: Oguz I.EMLIK (oguzemlik@comu.edu.tr)
Date: Fri 20 Aug 2004 - 11:06:40 EEST
Meraba arkadaslar;
Smtp'ye gore teorik olarak bir mailin max size'ı ne kadar olabilir.
Az once rfc821'e baktım... sizes bolumu asagıda...
Bana biraz azmıs gibi geldi. mesela text line için 1000 karakter falan
olabilir gibisinden bişiyler yazıyo. ozaman mesela 5 mb'lık bi dosya ataç
edince gonderemeyecek olması gerek ama gonderilebiliyo.. buarada mail
serverin hiç bi sınırlama koymadıgını varsayıyorum. ona gore smtp'den
iletilecek bir mailin max size'ı ne kadar olabilir.?
4.5.3. SIZES
There are several objects that have required minimum maximum
sizes. That is, every implementation must be able to receive
objects of at least these sizes, but must not send objects
larger than these sizes.
****************************************************
* *
* TO THE MAXIMUM EXTENT POSSIBLE, IMPLEMENTATION *
* TECHNIQUES WHICH IMPOSE NO LIMITS ON THE LENGTH *
* OF THESE OBJECTS SHOULD BE USED. *
* *
****************************************************
user
The maximum total length of a user name is 64 characters.
domain
The maximum total length of a domain name or number is 64
characters.
path
The maximum total length of a reverse-path or
forward-path is 256 characters (including the punctuation
and element separators).
command line
The maximum total length of a command line including the
command word and the <CRLF> is 512 characters.
reply line
The maximum total length of a reply line including the
reply code and the <CRLF> is 512 characters.
RFC 821 August 1982
Simple Mail Transfer Protocol
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).
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. *
* *
****************************************************
Errors due to exceeding these limits may be reported by using
the reply codes, for example:
500 Line too long.
501 Path too long
552 Too many recipients.
552 Too much mail data.
Kolay gele ...
------------------------------------------------
Oguz I. EMLIK
oguzemlik[at]comu[.]edu[.]tr
oemlik[at]isdemir[.]com[.]tr