james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Göggerle <andreas.goegge...@pansoft.de>
Subject [PATCH] RemoteDelivery and new DSNBounce Mailet
Date Thu, 27 Nov 2003 17:05:58 GMT

finaly I got time to get things ready.

This Patch to RemoteDelivery introduces a new parameter <dsnProcessor>.
Here you can specify a processor, where DSN conform Bounces are created.
If this parameter is missing, mails get bounced the "old way".

Here is a configuration example:

<processor name="transport">
   <mailet match="All" class="RemoteDelivery">
      <!-- Processor for DSN creation -->

<processor name="dsn">
   <mailet match="All" class="DSNBounce">
      <!-- sender defaults to postmaster -->
      <sender> JamesMailserver@domain.tld </sender>
	<!-- Subject Prefix (default=Re:) -->
      <prefix> ERROR: </prefix>
      <passThrough> false </passThrough>

The DSNBounce Mailet creates Bounce Mails in the format specified by RFCs
to 3464. There is only one discrepancy: the MIME-type "text/plain" is used
the status-report part, instead of "message/delivery-status".
JavaMail doesn't support "message/delivery-status".


Mail: andreas.goeggerle@pansoft.de
Web: www.pansoft.de
Tel.: +49 (0)721 62532 - 16
Fax: +49 (0)721 62532 - 44

Tullastr. 28
76131 Karlsruhe

View raw message