You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Tremen <jc...@hotmail.com> on 2005/03/31 18:31:19 UTC

Mailet-Matcher execution order

Hi all,

I'd like to know what is the execution order of mailet and matcher within a pair in a processor.

e.g. When a mail is routed into a mailet/matcher pair, matcher deals with mail, then mailet works on matched mails? Or it happens in a reversed order? (Excuse my poor english)

Thanks in advance.

Re: Mailet-Matcher execution order

Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
First it tries to match, and then if the match is successfull the mailet 
is invoked on the matched mail: it's like an 'if match then execute mailet'.

Vincenzo.

Tremen wrote:

>Hi all,
>
>I'd like to know what is the execution order of mailet and matcher within a pair in a processor.
>
>e.g. When a mail is routed into a mailet/matcher pair, matcher deals with mail, then mailet works on matched mails? Or it happens in a reversed order? (Excuse my poor english)
>
>Thanks in advance.
>  
>

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


Re: Mailet-Matcher execution order

Posted by Ricardo Cortes <rc...@boltstaff.com>.
This link should help you:

http://james.apache.org/spoolmanager_2_1.html

On Thu, 2005-03-31 at 18:31 +0200, Tremen wrote:
> Hi all,
> 
> I'd like to know what is the execution order of mailet and matcher within a pair in a processor.
> 
> e.g. When a mail is routed into a mailet/matcher pair, matcher deals with mail, then mailet works on matched mails? Or it happens in a reversed order? (Excuse my poor english)
> 
> Thanks in advance.



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