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.
pgp00000.pgp
Description: PGP signature
