Eduardo Roldan writes:
On Thu, 2003-11-06 at 21:25, Martin Arrieta wrote:
Hi all i have one problem when i try to send one mail with one line with more than 5000 characters.
for example ..
ruby -e "5000.times {print 'a'}" | sendmail [EMAIL PROTECTED]
it is fine.. but
ruby -e "5001.times {print 'a'}" | sendmail [EMAIL PROTECTED]
return :
534 Message header size, or recipient list, exceeds policy limit. sendmail: Unable to submit message.
You aren't generating a well formed message in that way. But investigating what you say, I agree. *ANY* line with a long size (header or body) causes this error message. It's OK to limit the length of the headers, but why courier imposes a limit in the body?
Because any message transferred over SMTP cannot have lines larger than 1022 characters.
Mr. Sam,
How does the SMTP limit of 1022 characters per line translates to Courier's limit of 5000 characters per line?
I'm asking this because if the SMTP limit of 1022 characters per line can be streched to 5000 characters per line, it might be streched further, can it? May be to a compile time configurable limit...
Rodrigo
-- ---------------------------------------------------- Rodrigo Severo Fábrica de Idéias Fone: +55(61)321 1357 Fax: +55(61)223 1712 SBS - Quadra 2 - Ed. Empire Center - Sala 1301 Brasília/DF - Brasil CEP: 70.070-904 ----------------------------------------------------
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users