You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Gabor Kincses <np...@yahoo.com> on 2006/01/24 23:53:21 UTC

Bounce mailet bug?

The Bounce mailet extends AbstractNotify which extends
AbstractRedirect that carries most of the
functionality.

The setSubjectPrefix() method is implemented in
AbstractRedirect that observes the incoming subject's
charset.  AbstractNotify in turns reimplements
setSubjectPrefix() without observing the charset,
possibly resulting in platform default encoding of the
subject.  This may not be desirable.

More specifically:
Subject: =?ISO-8859-5?Q?DE=E1=DE=D1=DD=EF=DA?=

becomes:
Subject:
=?Cp1252?Q?undelivered_mail_=3F=3F=3F=3F=3F=3F=3F?=

Seems wrong to me.  Removing the
AbstractNotify.setSubjectPrefix() seems to fix the
problem.

Hope this helps,
Gabor

Gabor Kincses
Running Mandrake Linux 10.0

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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