> I'm finding that James is responding to some fast fails with
> a bounce message to the email address specified in the
> Reply-To: header rather than the Return-Path.
See James.bounce(Mail, String, MailAddress). MimeMessage.reply(boolean)
prepares the new message using the Reply-To: header. If there is no
Return-Path header:, then the Reply-To: header value is being used.
I don't know why you don't have a Return-Path: header off-hand, but that is
the cause of your problem. I'm not entirely sure that we need to be using
the header. I would have to review the RFC, again, but I believe that
Mail.getSender() would provide a suitable value.
By any chance are these messages that you are building internally? FWIW, I
am attaching a mailet that I've used for debugging.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]