james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Closed: (JAMES-84) James doesn't cope with malformed addresses
Date Sun, 06 Jun 2004 21:06:00 GMT
Message:

   The following issue has been closed.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-84
    Summary: James doesn't cope with malformed addresses
       Type: Bug

     Status: Closed
 Resolution: INCOMPLETE

    Project: James
 Components: 
             SpoolManager & Processors
   Versions:
             2.1

   Assignee: 
   Reporter: Roland Turner

    Created: Thu, 6 Feb 2003 10:06 AM
    Updated: Sun, 6 Jun 2004 2:04 PM
Environment: Operating System: Other
Platform: Other

Description:
I have James configured to pass everything that reaches the "transport"
processor to my mailet:

<processor name="transport">
    <mailet match="All" class="MyMailet"/>
</processor>

As part of testing my mailet, I then used fetchmail to present to James' SMTP
interface the last ~1150 articles that arrived at the input to my personal
procmail filters. Of these, only ~1060 reached my maillet. The rest landed in
james-2.1/apps/james/var/mail/error. 'strings *.Respository.FileObjectStore'
reveals that most of these contain javax.mail.internet.AddressException for one
 reason or another (illegal whitespace in local part, illegal character in local
part, local part ends with '.', ...), often in the From: address rather than the
To: address meaning that, in principle at least, delivery could still be performed.

I don't have an immediate suggestion about how to fix this; presumably
JavaMail's MimeMessage constructor is choking, which can't easily be fixed.
Encapsulation as an application/octet-stream inside a failure message to the
postmaster may be a useful workaround.


---------------------------------------------------------------------
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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message