james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincenzo Gianferrari Pini" <vincenzo.gianferrarip...@praxis.it>
Subject RE: Code review of "FromRepository" Re-spooling mailet
Date Tue, 02 Sep 2003 11:59:03 GMT
Noel,

the attachment did not get through. Can you resend it please?

Thanks,

Vincenzo

> -----Original Message-----
> From: Noel J. Bergman [mailto:noel@devtech.com]
> Sent: martedì 26 agosto 2003 5.41
> To: James-Dev Mailing List
> Subject: Code review of "FromRepository" Re-spooling mailet
> 
> 
> Attached is a proof of concept.  It is a mailet that reads messages from a
> repository and re-spools them.  Yes, this could also be done with 
> a service
> like FetchMail, but eventually, it would be possible to parameterize it so
> that it reads a set of messages from a named repository and respools them
> according to information in the control message.
> 
> The purpose for the fixReversePath hack is because my first shot 
> at this is
> using Jason's mbox repository, and there is a bug is in the
> MailImpl(MimeMessage) constructor, which improperly sets the "sender" from
> the From: headers, but I didn't want to change that tonight.
> 
> Example:
> 
>   <mailet match="respool@localhost" class="FromRepository">
>      <repositoryPath> mbox://var/mail/respool </respositoryPath>
>   </mailet>
> 
> I'll be playing with it further tonight, but I thought I'd get 
> some eyes on
> it.
> 
>         --- Noel
> 
> 


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


Mime
View raw message