james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: trigger bounce from mailbox write
Date Wed, 27 Jun 2012 08:42:35 GMT
Hi Tim,

I just have read your mail and may be late to help...

Anyway, you should add in the error process the Bounce mailet as first step
<mailet match="All" class="Bounce"/>

See [1] for example.

Thx, Eric

[1] 
https://svn.apache.org/repos/asf/james/app/trunk/src/main/resources/mailetcontainer-template.conf

On 06/27/2012 12:24 AM, Timothy Prepscius wrote:
> Hey there,
>
> I thought I would ask before spending tonight researching.
> Is there an "easy" way to trigger a bounce from the the Mail storage step?
>
>
> For instance, mail has arrived for user Z, but now I notice that I can't write it.  I
want to bounce it back to the sender as undeliverable.
>
> If I throw a Mailbox exception, then the mail gets stuck in var/error.
>
> Any hints before I get started?
>
>
>
> I'll spend tonight/tomorrow looking.
>
> -tim
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>

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

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


Mime
View raw message