Noel, the attachment did not get through. Can you resend it please?
Thanks, Vincenzo > -----Original Message----- > From: Noel J. Bergman [mailto:[EMAIL PROTECTED] > 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="[EMAIL PROTECTED]" 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
