Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-40

Embedded whitespace in To address field crashed James

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.0a2
    • None
    • SMTPServer
    • None
    • Operating System: Windows 9x
      Platform: PC
    • 9669

    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: <TermQuotesLife@eudoramail.com>
      Received: from mailhost.altanueva.fr ([194.3.113.222])
      by Darkstar (JAMES SMTP Server 2.0a2) with SMTP ID 930
      for <mymaillist-off@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: <000054bd4df9$00000aa8$00001e60@mx1.eudoramail.com>
      To: <Not Insured>
      From: "Term Quotes, Life Insurance Companies of America"
      <TermQuotesLife@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)

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcc@easystreet.com Marc Chamberlin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: