Vincenzo,

> 1) I didn't find another way to overcome [the] ParseException.

I have not yet tested the code, but I did compile Redirect.java and
Bounce.java.  This compiles against the CVS + MailetContext.sendMail(Mail).

> 2) [We] have to remember that NULL will have a different meaning than
null.

Well, it is only visible as SpecialAddress.NULL, and RFC 2821 refers to it
as the null reverse-path, which specific instructions (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.

By the way, should the SpecialAddress markers be treated as case
insensitive?

> 3) I'm exploring the convenience of having an AbstractRedirect class,
>    extended by Redirect and the other mailets

OK.

        --- Noel

Attachment: Redirect.java
Description: Binary data

Attachment: Bounce.java
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to