Yep, RFC2821 (the up to date SMTP one). The bit you need is section 6.1:

   If there is a delivery failure after acceptance of a message, the
   receiver-SMTP MUST formulate and mail a notification message.  This
   notification MUST be sent using a null ("<>") reverse path in the
   envelope.  The recipient of this notification MUST be the address
   from the envelope return path (or the Return-Path: line).  However,
   if this address is null ("<>"), the receiver-SMTP MUST NOT send a
   notification.  Obviously, nothing in this section can or should
   prohibit local decisions (i.e., as part of the same system
   environment as the receiver-SMTP) to log or otherwise transmit
   information about null address events locally if that is desired.  If
   the address is an explicit source route, it MUST be stripped down to
   its final hop.

Section 5.3.3 in RFC 1123  ('Requirements for Internet hosts') says exactly the same. 
Seems I remembered wrong about this. I think this means that we can set the From and 
Return-Path headers to be <[EMAIL PROTECTED]>, but that the from attribute in 
org.jboss.mail.message.Mail needs to be empty (or null or whatever). Sorry about the 
confusion!

Cheers,

Kab



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

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827490>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