You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Noel J. Bergman" <no...@devtech.com> on 2003/06/06 08:27:12 UTC

Exception in AbstractRedirect

This is what happens when spammers send corrupt data.  :-)

javax.mail.internet.ParseException
        at javax.mail.internet.ParameterList.<init>(ParameterList.java:81)
        at javax.mail.internet.ContentType.<init>(ContentType.java:82)
        at
javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1051)
        at
javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1914)
        at
javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1895)
        at
org.apache.james.transport.mailets.AbstractRedirect.service(AbstractRedirect
.java:851)
        at
org.apache.james.transport.mailets.Forward.service(Forward.java:148)

We call saveChanges, which calls updateHeaders, which ends up parsing the
body content.  This is one reason why LocalDelivery uses a MimeMessage
subclass to disable re-processing of the message body.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org