You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Saibabu Vallurupalli <sa...@gmail.com> on 2012/11/13 18:20:32 UTC
Message Notifications
Hi All,
I have this requirement to check the message coming in (Inbound) to Apache
James and check if the message is a disposition notification (Delivered
successfully, Failed to Deliver) route this to sent folder instead of
responding to sender as an acknowledgement to Inbox.
When MDN routed to sent folder it should match the original sent email and
update its status to failed/success.
Now, I am planning to write a matcher to read the Inbound message. Where
can I get more information about matchers and if someone has already
implemented in James please let me know the approach you have considered
for this functionality.
Thank you very much in advance.
Thanks,
Sai
Re: Message Notifications
Posted by Eric Charles <er...@apache.org>.
Hi Sai,
You could easily implement a MDNToSentFolder mailet combined with a
MDNMatcher matcher to drive the MDN to the "Sent Items" folder of the
originating mail user.
However, I am a bit lost when you talk about "updating the email status
to Success or Failure". Some mail clients such as Outlook may have such
additional features, but in plain IMAP client such as Thunderbid, I
don't know such a features. Maybe I miss something?
Thx
Eric
On 15/11/2012 00:06, Saibabu Vallurupalli wrote:
> Hi Eric,
>
> Thank you for providing information about matcher.
> Can you please give some details about Message Disposition Notifications?
> The requirement we have is depending on the MDN status the sent folder
> email should get status updated. If MDN is success, sent folder should have
> that email status showing as success. If the MDN status is Failure in sent
> folder that email status should have Failure.
>
> Any information on this approach will be great.
>
> Thank you,
> Sai
>
>
>
>
> On Wed, Nov 14, 2012 at 2:51 AM, Eric Charles <er...@apache.org> wrote:
>
>> Hi Sai,
>>
>> The general information for matchers can be read on [1] and [2].
>> Thx,
>> Eric
>>
>> [1] http://james.apache.org/**server/3/dev-extend-matcher.**html<http://james.apache.org/server/3/dev-extend-matcher.html>
>> [2] http://james.apache.org/**server/3/dev-provided-**matchers.html<http://james.apache.org/server/3/dev-provided-matchers.html>
>>
>>
>>
>> On 13/11/2012 17:20, Saibabu Vallurupalli wrote:
>>
>>> Hi All,
>>>
>>> I have this requirement to check the message coming in (Inbound) to Apache
>>> James and check if the message is a disposition notification (Delivered
>>> successfully, Failed to Deliver) route this to sent folder instead of
>>> responding to sender as an acknowledgement to Inbox.
>>> When MDN routed to sent folder it should match the original sent email and
>>> update its status to failed/success.
>>>
>>> Now, I am planning to write a matcher to read the Inbound message. Where
>>> can I get more information about matchers and if someone has already
>>> implemented in James please let me know the approach you have considered
>>> for this functionality.
>>>
>>> Thank you very much in advance.
>>>
>>> Thanks,
>>> Sai
>>>
>>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.**apache.org<se...@james.apache.org>
>> For additional commands, e-mail: server-user-help@james.apache.**org<se...@james.apache.org>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Message Notifications
Posted by Saibabu Vallurupalli <sa...@gmail.com>.
Hi Eric,
Thank you for providing information about matcher.
Can you please give some details about Message Disposition Notifications?
The requirement we have is depending on the MDN status the sent folder
email should get status updated. If MDN is success, sent folder should have
that email status showing as success. If the MDN status is Failure in sent
folder that email status should have Failure.
Any information on this approach will be great.
Thank you,
Sai
On Wed, Nov 14, 2012 at 2:51 AM, Eric Charles <er...@apache.org> wrote:
> Hi Sai,
>
> The general information for matchers can be read on [1] and [2].
> Thx,
> Eric
>
> [1] http://james.apache.org/**server/3/dev-extend-matcher.**html<http://james.apache.org/server/3/dev-extend-matcher.html>
> [2] http://james.apache.org/**server/3/dev-provided-**matchers.html<http://james.apache.org/server/3/dev-provided-matchers.html>
>
>
>
> On 13/11/2012 17:20, Saibabu Vallurupalli wrote:
>
>> Hi All,
>>
>> I have this requirement to check the message coming in (Inbound) to Apache
>> James and check if the message is a disposition notification (Delivered
>> successfully, Failed to Deliver) route this to sent folder instead of
>> responding to sender as an acknowledgement to Inbox.
>> When MDN routed to sent folder it should match the original sent email and
>> update its status to failed/success.
>>
>> Now, I am planning to write a matcher to read the Inbound message. Where
>> can I get more information about matchers and if someone has already
>> implemented in James please let me know the approach you have considered
>> for this functionality.
>>
>> Thank you very much in advance.
>>
>> Thanks,
>> Sai
>>
>>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: server-user-unsubscribe@james.**apache.org<se...@james.apache.org>
> For additional commands, e-mail: server-user-help@james.apache.**org<se...@james.apache.org>
>
>
Re: Message Notifications
Posted by Eric Charles <er...@apache.org>.
Hi Sai,
The general information for matchers can be read on [1] and [2].
Thx,
Eric
[1] http://james.apache.org/server/3/dev-extend-matcher.html
[2] http://james.apache.org/server/3/dev-provided-matchers.html
On 13/11/2012 17:20, Saibabu Vallurupalli wrote:
> Hi All,
>
> I have this requirement to check the message coming in (Inbound) to Apache
> James and check if the message is a disposition notification (Delivered
> successfully, Failed to Deliver) route this to sent folder instead of
> responding to sender as an acknowledgement to Inbox.
> When MDN routed to sent folder it should match the original sent email and
> update its status to failed/success.
>
> Now, I am planning to write a matcher to read the Inbound message. Where
> can I get more information about matchers and if someone has already
> implemented in James please let me know the approach you have considered
> for this functionality.
>
> Thank you very much in advance.
>
> Thanks,
> Sai
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org