I think I was on the wrong track there.

Hes Siemelink kindly directed me to the much simpler HostIs matcher which I
have now got to work and my daughter can finally send mail to her friend on
AOL :-).   Peace at last.


>From Hes>

> I think you want to use the HostIs matcher.
> 
> <mailet match="HostIs=aol.com" class="RemoteDelivery"/>
> 
> See http://james.apache.org/provided_matchers_2_1.html


Thanks,

John Hornsby


 

> -----Original Message-----
> From: John Hornsby [mailto:[EMAIL PROTECTED] 
> Sent: 15 July 2004 16:10
> To: [EMAIL PROTECTED]
> Subject: RE: Could not connect to SMTP host
> 
> 
> > you could match messages intended for @aol.com domains, and 
> route them 
> > through a different instance of RemoteDelivery.
> 
> I'd wondered about that option but wasn't sure how to trap those.
> 
> How do I trap those exactly?
> 
> 
> I assume RecipientIs needs an exact match so this wouldn't work:
>       <mailet match="RecipientIs = @aol.com" class="RemoteDelivery">
> 
> 
> So do I need to use one of the new regex matchers?, eg:
> 
> <mailet match="HasMailAttributeWithValueRegex=name, [EMAIL PROTECTED]"
> class="RemoteDelivery">
> 
> If so what would "name" (the Mail Attribute) be?   "To"??
> 
> Thanks again,
> 
> John Hornsby
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to