Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-40

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-40
    Summary: Embedded whitespace in To address field crashed James
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: James
 Components: 
             SMTPServer
   Versions:
             2.0a2

   Assignee: 
   Reporter: Marc Chamberlin

    Created: Thu, 6 Jun 2002 4:34 PM
    Updated: Sun, 6 Jun 2004 2:40 PM
Environment: Operating System: Windows 9x
Platform: PC

Description:
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: <[EMAIL PROTECTED]>
Received: from mailhost.altanueva.fr ([194.3.113.222])
by Darkstar (JAMES SMTP Server 2.0a2) with SMTP ID 930
for <[EMAIL PROTECTED]>;
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: <[EMAIL PROTECTED]>
To: <Not Insured>
From: "Term Quotes, Life Insurance Companies of America"
<[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]

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)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to