Hi,
  I''ve been having problem with bounced mail.  I've tried to send out an email to a 
bad address on a remote server.  The section
I've uncomment is in the error process:
   <!-- If you want to notify the postmaster that a message was marked
          as spam, uncomment this -->
          <mailet match="All" class="NotifyPostmaster">
          </mailet>
So the postmaster(vkb@iroth) is notify of the bounced email.  

It seems that the bounced message being put into the error folder and from there it is 
trying notify the sender instead of the postmaster.  
The orignial message should be in the error folder and from there it should try to 
notify the postmaster.  Could someone tell me what
I'm doing wrong?

Please Help.

Here is the orginal message I sent out:
*****************************************************************************
Return-Path: <ide@iroth>
Received: from IROTH ([158.114.2.143])
          by IROTH (JAMES SMTP Server 2.0a2) with SMTP ID 315
          for <rothxxx@irothx>;
          Wed, 4 Sep 2002 09:42:48 -0400
Message-ID: <4283878.1031146968775.JavaMail.iroth@IROTH>
Date: Wed, 4 Sep 2002 09:42:48 -0400 (EDT)
From: ide@iroth
To: rothxxx@irothx
Subject: JavaMail APIs Test
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is a message body.
Here's the second line.
*******************end of message*********************************************

This is the message that was put into the error folder:
***************************************************************************
Message-ID: <4890830.1031147032046.JavaMail.iroth@IROTH>
Date: Wed, 4 Sep 2002 09:43:52 -0400
From: vkb@iroth
To: ide@iroth
Subject: Re: JavaMail APIs Test
In-Reply-To: <4283878.1031146968775.JavaMail.iroth@IROTH>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_Part_0_9442359.1031147031746"

------=_Part_0_9442359.1031147031746
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi. This is the James mail server at IROTH.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

rothxxx@irothx
No route found to irothx

The original message is attached.

------=_Part_0_9442359.1031147031746
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is a message body.
Here's the second line.
------=_Part_0_9442359.1031147031746--
******************************************************************************

This is the message that was sent to the postmaster(vkb@iroth):
*******************************************************************************
Message-ID: <3932167.1031147032136.JavaMail.iroth@IROTH>
Date: Wed, 4 Sep 2002 09:43:52 -0400
From: vkb@iroth
To: vkb@iroth
Subject: Re: JavaMail APIs Test
In-Reply-To: <4890830.1031147032046.JavaMail.iroth@IROTH>
Mime-Version: 1.0
Content-Type: multipart/mixed; 
 boundary="----=_Part_1_14105722.1031147032116"

------=_Part_1_14105722.1031147032116
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

We were unable to deliver the attached message because of an error in the mail server.

Message details:
  Subject: Re: JavaMail APIs Test
  Sent date: Wed Sep 04 09:43:52 EDT 2002
  MAIL FROM: vkb@iroth
  RCPT TO: ide@iroth
  From: vkb@iroth 
  To: ide@iroth 
  Size (in bytes): 581

------=_Part_1_14105722.1031147032116
Content-Type: multipart/mixed; boundary="----=_Part_0_9442359.1031147031746"

------=_Part_0_9442359.1031147031746
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi. This is the James mail server at IROTH.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

rothxxx@irothx
No route found to irothx

The original message is attached.

------=_Part_0_9442359.1031147031746
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is a message body.
Here's the second line.
------=_Part_0_9442359.1031147031746--

------=_Part_1_14105722.1031147032116--
*******************************************************************************************


thanks,
Ide

Reply via email to