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 ji...@apache.org on 2004/06/06 22:51:57 UTC

[jira] Closed: (JAMES-98) Mailet NotifySender has several problems with the headers it generates

Message:

   The following issue has been closed.

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

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-98
    Summary: Mailet NotifySender has several problems with the headers it generates
       Type: Bug

     Status: Closed
 Resolution: FIXED

    Project: James
 Components: 
             SpoolManager & Processors
   Versions:
             2.1

   Assignee: 
   Reporter: Paul Overell

    Created: Tue, 25 Mar 2003 9:46 AM
    Updated: Sun, 6 Jun 2004 1:51 PM
Environment: Operating System: Solaris
Platform: Sun

Description:
I'm using James 2.1.2, Solaris 9 and it's all working well, but I have a few 
grumbles about the header 
of a messages produced by NotifySender: 

Date: Mon, 24 Mar 2003 17:15:43 +0000 (GMT)
From: postmaster@amserve.com
To: postmaster@amserve.com
Subject: Re:SMTP Monitor Test Message
In-Reply-To: null
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_2_9800697.1048526143712"

There are some problems with this header:

1)      The address in the To: line is the postmaster's address, not the
        recipient's address.  However, the notify message is correctly 
        delivered to the recipient. 

2)      Arguably this isn't a reply, but a notification, so "Re:" should
        not have been added to the subject.  But even if "Re:" were to 
        be added it should have a space after the colon "Re: ". 

3)      The In-Reply-To: line is syntactically invalid according to
        RFC2822 -  "null" isn't a message-id.  (Even if it were valid 
        it's certainly not what was intended). 

4)      Finally a wish: please can we have RFC1894 format notification
        messages? 


Here is the relevant part of my config.xml

         <mailet match="All" class="NotifySender"> 
             <notice> 
                 We were unable to deliver the attached message 
             </notice> 

             <passThrough>false</passThrough>
         </mailet>


---------------------------------------------------------------------
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