Are you sending the e-mail to "[EMAIL PROTECTED]" or should it
be "[EMAIL PROTECTED]"?

One line from the log is not useful because you've left out the context.
All that it tells us is that the matcher was called.  That will happen for
EVERY message.  James uses a pipeline.  You need to learn how to trace the
path of messages through the pipeline.  What is the line AFTER the
RecipientIs matcher?  Do you see the e-mail being passed to the Redirect
mailet for servicing, or do you see the next matcher?  If you don't see the
Redirect mailet servicing the message, then the matcher did not match the
message against your condition.

        --- Noel

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Srinivasa Rao Katta
Sent: Friday, September 27, 2002 14:29
To: James Users List
Subject: Re: Set the Alias


Noel,

How are you ?.

I have checked the spoolmanager.log for matcher "RecipientIs".

I have found following line in the log file.

-------------------------------------------------------
27/08/02 12:00:56 DEBUG spoolmanager.root: Checking Mail1030464056173-111
with org.apache.james.transport.matchers.RecipientIs@e753
-------------------------------------------------------

I have updated config.xml for to add the  domain name to user sales like
following;
------------------------------------------------------
<mailet match="[EMAIL PROTECTED]" class="Redirect">
            <recipients>[EMAIL PROTECTED],[EMAIL PROTECTED]</recipients>
            <inline>unaltered</inline>
            <static>true</static>
         </mailet>
-------------------------------------------------------

Please advice me.

Thanks,
Srinivas.

> Check the log.  Is this matcher identifying the mail?  Why did you remove
> the domain part?  Try RecipientIs=sales@<your-domain> instead.
>
>         --- Noel
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Srinivasa Rao Katta
> Sent: Friday, September 27, 2002 13:39
> To: James Users List
> Subject: Re: Set the Alias
>
> Noel,
>
> How are you ?.
>
> As per your advice,I have updated config.xml as like following.
>
> ---------------------------------------------
> <mailet match="RecipientIs=sales" class="Redirect">
>                 <to>sales</to>
>             <recipients>[EMAIL PROTECTED],[EMAIL PROTECTED]</recipients>
>             <inline>unaltered</inline>
>             <static>true</static>
>          </mailet>
> ---------------------------------------------
>
> But,no luck.
>
> Please advice me.
>
> Thanks,
> Srinivas.
>
> > Srinivas,
> >
> > > James should receive mail for pricing and it should send mail to all
> > external
> > > e-mail-ids([EMAIL PROTECTED],[EMAIL PROTECTED],etc...).
> >
> > I believe that the following should work:
> >
> >          <mailet match="[EMAIL PROTECTED]"
class="Redirect">
> >
<recipients>[EMAIL PROTECTED],[EMAIL PROTECTED]</recipients>
> >             <inline>unaltered</inline>
> >             <static>true</static>
> >          </mailet>
> >
> > You can test that, and Danny should be able to confirm that I've got it
> > right.  NOTE: if you do not have the LATEST code (from the CVS), you
also
> > need to add:
> >
> >                 <to>[EMAIL PROTECTED]</to>
> >
> > The fix for that was committed to the CVS this morning.
> >
> >         --- Noel


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

Reply via email to