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 bu...@apache.org on 2002/06/06 18:34:23 UTC

DO NOT REPLY [Bug 9669] New: - Embedded whitespace in To address field crashed James

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9669>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9669

Embedded whitespace in To address field crashed James

           Summary: Embedded whitespace in To address field crashed James
           Product: James
           Version: 2.0a2
          Platform: PC
        OS/Version: Windows 9x
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: SMTPServer
        AssignedTo: james-dev@jakarta.apache.org
        ReportedBy: marcc@easystreet.com


I am running a couple of mail lists on version 2.0a2 of James and I received a
piece of spam junk which was apparently sent to the URL for unsubscribing to
one of my lists. While James did log the attempt OK, and it did send the
spam to the error repository, it appears to have hung/crashed afterwards...
I am using the generic AvalonListServManager class to handle the
administrative commands for my mail list. I have included the mail header
info (slightly modified and body deleted) and the stack walkback that
occurred.. 

Return-Path: <Te...@eudoramail.com>
Received: from mailhost.altanueva.fr ([194.3.113.222])
by Darkstar (JAMES SMTP Server 2.0a2) with SMTP ID 930
for <my...@mydomain.com>;
Wed, 5 Jun 2002 18:14:10 -0700
Received: from mx1.eudoramail.com
(0-3pool158-139.nas2.dallas1.tx.us.da.qwest.net [63.232.158.139]) by
altatech.altanueva.fr with SMTP (Microsoft Exchange Internet Mail Service
Version 5.5.2650.21)
id MKDFHW0K; Thu, 6 Jun 2002 02:29:55 +0200
Message-ID: <00...@mx1.eudoramail.com>
To: <Not Insured>
From: "Term Quotes, Life Insurance Companies of America"
<Te...@eudoramail.com>
Subject: Your Life Insurance CO does not want you to know this.. LSD
Date: Wed, 05 Jun 2002 19:36:21 -1700
MIME-Version: 1.0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Reply-To: TermQuotesLife@eudoramail.com

Wed Jun 05 18:15:29 PDT 2002 [DEBUG  ] (spoolmanager.error): Servicing
Mail1023326050020-0-!28925200-!88407890 by NotifyPostmaster Mailet
Wed Jun 05 18:15:29 PDT 2002 [ERROR  ] (spoolmanager.error): Exception
calling NotifyPostmaster: Illegal whitespace in address
javax.mail.internet.AddressException: Illegal whitespace in address in
string ``Not Insured''
 at
javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:837)
 at javax.mail.internet.InternetAddress.parse(InternetAddress.java:748)
 at javax.mail.internet.InternetAddress.parse(InternetAddress.java:501)
 at
org.apache.james.core.MimeMessageWrapper.getAddressHeader(MimeMessageWrapper
.java:105)
 at
org.apache.james.core.MimeMessageWrapper.getRecipients(MimeMessageWrapper.ja
va:270)
 at
org.apache.james.transport.mailets.NotifyPostmaster.service(NotifyPostmaster
.java:109)
 at
org.apache.james.transport.LinearProcessor.service(LinearProcessor.java:168)
 at
org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManager.java:
241)
 at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:208)
 at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
 at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>