The below is just my gut feeling, and I could be very wrong! What do you think is best.

I think the most important thing right now is:

1) Get the bounced message sent to the sender with the original subject and a list of 
the failed email addresses in the message body.

Nice haves (which I think should be in place in a full release) would be:
2) Include the reason for the failure, i.e. the stuff you mention below

3) The original message attached to the bounce mail

I think we can leave 3) for now... If you like we can split 1) and 2) between us, or 
you can have it all and I can do something else. 

Regarding 1) I thought the format should be to send a message with an 'empty' From 
header to the address in the From header of the original mail, probably with a subject 
(so that the sender knows which email we are talking about along with the address(es) 
that failed. As far as I can tell this empty From header is defined by (I think it 
was) RFC 2821 and RFC 1123. I might remember wrong though, as looking at a few bounced 
emails in my inbox I have seen the headers look like:

From: [EMAIL PROTECTED]
Subject: Delivery Status Notification (Failure)
Return-Path: <>
<rest of headers here>

AND
From: CompuServe Postmaster <[EMAIL PROTECTED]>
Subject: Undeliverable Message
Return-Path: [EMAIL PROTECTED]
<rest of headers here>

AND
Return-Path: 
Subject: Undeliverable:From  dev to receivers
From: "System Administrator" <[EMAIL PROTECTED]>
<rest of headers here>

AND
From: Systemadministrator <[EMAIL PROTECTED]>
Subject: Unzustellbar: RE: Software AG Receipt Acknowledgement for Return-Path: <>
<rest of headers here>

They all have the From header set, but most have the Return-Path header empty, so not 
sure what is correct. Whoever does 1) will need to look at this in the specs to make 
sure we do the right thing.

KIab



<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827471#3827471";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827471>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to