The problem here is that the server you are sending the message
(mx1.imr.gm.com.) refuse your message because it has an header larger
than 32000 chars.
What do you put in this header??
Headers are normally no more than few hundreds bytes.
Imho the problem is not the size of the To: header, but the size of the
whole header. James is not responsible for the headers of the mails it
spools, if the recipient server reject messages with more than 32KB of
headers you should not send an header so big.
Stefano
Morales, Jose Margarito wrote:
Hi the Exception is :
20/01/06 09:25:08 INFO James.Mailet: RemoteDelivery: Attempting
delivery of Mail1137770627714-2724-to-cadillacsaab.com to host
CADILLACSAAB.COM. at 82.194.78.35 to addresses [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]
20/01/06 09:25:13 INFO James.Mailet: RemoteDelivery: Attempting
delivery of Mail1137770627714-2724-to-gm.com to host mx1.imr.gm.com. at
192.85.154.101 to addresses [EMAIL PROTECTED], [EMAIL PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED]
20/01/06 09:25:19 INFO James.Mailet: RemoteDelivery: Exception
delivering message (Mail1137770627714-2724-to-gm.com) - 552 5.6.0
Headers too large (32768 max)
20/01/06 09:25:19 INFO James.Mailet: RemoteDelivery: Permanent
exception delivering mail (Mail1137770627714-2724-to-gm.com:
javax.mail.MessagingException: 552 5.6.0 Headers too large (32768 max)
at
com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)
at
com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:942)
at
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:391)
at
org.apache.james.transport.mailets.RemoteDelivery.deliver(RemoteDelivery
.java:448)
at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.jav
a:912)
at java.lang.Thread.run(Thread.java:534)
This append when in the header in the field of to the is a string more
long than 12200 characters is any way to resolved .
-----Original Message-----
From: Stefano Bagnara [mailto:[EMAIL PROTECTED]
Sent: Friday, May 12, 2006 12:37 PM
To: James Users List
Subject: Re: Change the size of the to
Morales, Jose Margarito wrote:
Hi there is any way to change the size of the header of the <to> ... ?
I am getting a exception and the mails are not send it
What do you mean by "the size of the header of the <to>" ?
Can you contextualize your question?
If you have an exception, why don't you post it? ;-)
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]