Hi Sarma,

It's ToRecipientFolder, in trunk:

https://svn.apache.org/repos/asf/james/server/trunk/mailets/src/main/java/org/apache/james/transport/mailets/ToRecipientFolder.java

It's fairly new, so not yet documented.

Thx, Eric


On 04/20/2012 09:13 PM, Sarma Josyula wrote:
Thank you Eric,
Has any version of the ToFolder mailet been committed so far?

I am looking at James V3 but don't see it in the source or the catalog
of mailets.

Appreciate your pointers and time.

Cheers
Sarma

-----Original Message-----
From: Eric Charles [mailto:[email protected]]
Sent: Friday, April 20, 2012 2:05 PM
To: James Users List
Subject: Re: How to implement mail moderation with James?

Hi Sarma,

James does not provide any mailet that achieves what you describe.

You could get some inspiration from the ToFolder mailet to store the
mails in a predefined (the moderator or whatever) user, uses another
mailet that traps the approval (via a subject, a header or whatever),
and after retrieves the mail from the predefined user's mailbox,
delivers it in the end-user inbox (once again see ToFolder) and deletes
the mail from the predefined user.

So there's custom dev to do.

Thx, Eric


On 04/19/2012 04:22 PM, Sarma Josyula wrote:
Hi,

We are trying to build a policy managed email system with James.



When a mail requires moderation, I want to retain the mail in a store
and send an email to the moderator.



The moderator will approve it by sending an email with the subject
line in a known format.



When the approval mail is received, I want to retrieve the mail from
the store and send it to the original recipient



Questions:

Are there any standard mailets that can help me?



What should I do to deserialize the retained mail and put it back in
the processing queue after removing some headers?



Am a James newbie and really appreciate any inputs.



Thanks

Sarma





--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


--
eric | http://about.echarles.net | @echarles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to