james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: LocalDelivery and Delivered-To
Date Sat, 08 Nov 2003 16:46:39 GMT
> Adding the "Delivered-To"-Header by creating a new MimeMessage
> is unnecessary work.

> A simple message.addHeader("Delivered-To",recipient.toString());
> would be enough (without calling updateHeaders()).

Unfortunately, not true,  The LocalDelivery mailet is called to delivery to
all local recipients associated with a message.  Each one needs a unique
Delivered-To header, which is additive with any Deliverted-To headers that
might already exist.

The code for doing that does need to be written, but the requirements still
need to be kept in mind.

	--- Noel

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message