I dont see a case where the built-in James matchers
cant be used for what u want to achieve. Wonder what
caused u to build up ur own.
Use built-in James matchers for all such purposes
!They *WORK*. Period.

regards 
lahu

--- Carl Downs <[EMAIL PROTECTED]> wrote:

> I am trying to intercept outbound Mail 
> sent by a James user.  The interception 
> should work whether the recipient is 
> another local James user or a user on 
> some other MTA.
> 
> I built a Matcher that signals when
> the Mail 'sender' field is a local
> user.  The Matcher/Mailet pair fires 
> but does not do what I had expected.
> 
> First, the matched Mail instance seems
> odd in that its 'recipient' is set to the 
> actual 'sender' field.  The sender did not 
> include himself in the 'to' field.
> 
> Second, even though the Mailet changes
> state of the above odd Mail to 'ghost' the 
> Mail is delivered anyway to the actual 
> recipient.
> 
> Im my tests, the recipient is also a local
> James user, but I didn't think that would 
> make any difference.
> 
> Question:
> 
> I think the fact that the Mail was delivered 
> to the recipient anyway tells me that the 
> Mail was 'split' somethere in by the 
> processor tree.  I ghost'd the matched
> copy but the original (?) was unaffected, 
> causing the mail to be delivered anyway.  
> Wrong?
> 
> Question:
> 
> Anyone know why the odd recipient=sender 
> behavior described above might occur?
> 
> Question:
> 
> I had assumed that *any* mail sent to James 
> goes through the spool / processors whether 
> submitted from SMTP, FetchPOP, POP, or what 
> have you.  Is mail submitted by a POP client
> actually handled differently in some way?
> 
> Question:
> 
> Ok.  My technique is FU.  What is the correct
> Matcher technique for intercepting this type 
> of 'outbound' mail?
> 
> 
> Thanks,
> Carl
> 
> 
> 
> 
>               
> _______________________________
> Do you Yahoo!?
> Declare Yourself - Register online to vote today!
> http://vote.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to