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
Hi,

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 -->
      <dsnProcessor>dsn</dsnProcessor>
   </mailet>
</processor>

<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>
   </mailet>
</processor>

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

Andreas


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

PANSOFT GmbH
Tullastr. 28
76131 Karlsruhe
***************************************

Mime
View raw message