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 Srinivasa Rao Katta <sk...@telegea.com> on 2002/09/26 21:56:58 UTC

Set the Alias

Folks,

How are you ?.

I have a question here regarding to set the alias.

How can I set the alias to different e-mail-ids through James admin tool ?.

ex:

pricing:skatta@telegea.com,pbotla@telegea.com

I want James should send e-mail to all -email-ids ,If I have sent to pricing.

Please letme know the syntax too...

Thanks,
Srinivas.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
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="RecipientIs=sales@skat-sun-s8.telegea.com" class="Redirect">
            <recipients>skatta@telegea.com,pbotla@telegea.com</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: root@suncore.telegea.com [mailto:root@suncore.telegea.com]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>skatta@telegea.com,pbotla@telegea.com</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(skatta@telegea.com,pbotla@telegea.com,etc...).
> >
> > I believe that the following should work:
> >
> >          <mailet match="RecipientIs=pricing@telegea.com" class="Redirect">
> >             <recipients>skatta@telegea.com,pbotla@telegea.com</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>pricing@telegea.com</to>
> >
> > The fix for that was committed to the CVS this morning.
> >
> >         --- Noel
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
Noel,

How are you ?.

Thanks for the info.

Please find attached config.xml file.

Please update it with your info.

So,I can test it on my box.

Please letme know,If you have any questions or concerns.

Thanks,
Srinivas.


> Every list community differs in its policies.  The published rules for
> Jakarta's lists (http://jakarta.apache.org/site/mail.html) don't raise the
> subject specifically, although they do request that you be concise.
>
> That said, I agree that posting 130K worth of logs to the list was a bit
> abusive, and shouldn't have been done.  You posted a lot more than was
> necessary (we really didn't need your entire one month history with James),
> and a lot less than would be useful (you didn't provide appropriate portions
> of your configuration file).  Some effort on your part to trim the logs to
> even the relevant dates would have been appreciated.
>
> Although you didn't provide config.xml, but judging from the spoolmanager
> log, I bet that you have:
>
>  <mailet match="RecipientIs=sales@skat-sun-s8" class="Redirect">
>
> instead of
>
>  <mailet match="RecipientIs=sales@skat-sun-s8.telegea.com" class="Redirect">
>
> in your configuration file.  I am also guessing that you have the mailet in
> the wrong place in your configuration file.
>
>         --- Noel
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

RE: Set the Alias

Posted by "Noel J. Bergman" <no...@devtech.com>.
Every list community differs in its policies.  The published rules for
Jakarta's lists (http://jakarta.apache.org/site/mail.html) don't raise the
subject specifically, although they do request that you be concise.

That said, I agree that posting 130K worth of logs to the list was a bit
abusive, and shouldn't have been done.  You posted a lot more than was
necessary (we really didn't need your entire one month history with James),
and a lot less than would be useful (you didn't provide appropriate portions
of your configuration file).  Some effort on your part to trim the logs to
even the relevant dates would have been appreciated.

Although you didn't provide config.xml, but judging from the spoolmanager
log, I bet that you have:

 <mailet match="RecipientIs=sales@skat-sun-s8" class="Redirect">

instead of

 <mailet match="RecipientIs=sales@skat-sun-s8.telegea.com" class="Redirect">

in your configuration file.  I am also guessing that you have the mailet in
the wrong place in your configuration file.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
Noel,

How are you ?.

I received a rude mail from the James mailing list,which was came from the
james-user@jakarta.apache.org.

One of the folks has warned me on sending attachments to mailing list.

I did  not know about any rules on sending attachments to Mailing list.

I thought that you can understand the problem,If I send clear logs to you.

I am sorry for any inconvenience to you guys.

Please contact me,If you have any questions or concerns.

Thanks,
Srinivas.





> Noel,
>
> How are you ?.
> Thanks for the info.
>
> I have added code to config.xml.
> But there was no luck.
>
> The mails were going to mail box instead of redirecting.
> Please find attached log files in the gz format.
>
> Please advice me.
>
> Thanks,
> Srinivas.
>
> "Noel J. Bergman" wrote:
>
> > > What can I put in the place of MYPREFIX  macro?.
> >
> > Any text that you want.
> >
> > > Do I need use opened and closed brackets for MYPREFIX ?.
> >
> > No.
> >
> >         --- Noel
> >
> > --
> > To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>   ------------------------------------------------------------------------
>                     Name: mailet.log.gz
>    mailet.log.gz    Type: application/x-gzip
>                 Encoding: base64
>
>                         Name: smtpserver.log.gz
>    smtpserver.log.gz    Type: application/x-gzip
>                     Encoding: base64
>
>                           Name: spoolmanager.log.gz
>    spoolmanager.log.gz    Type: application/x-gzip
>                       Encoding: base64
>
>   ------------------------------------------------------------------------
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
Noel,

How are you ?.
Thanks for the info.

I have added code to config.xml.
But there was no luck.

The mails were going to mail box instead of redirecting.
Please find attached log files in the gz format.

Please advice me.

Thanks,
Srinivas.


"Noel J. Bergman" wrote:

> > What can I put in the place of MYPREFIX  macro?.
>
> Any text that you want.
>
> > Do I need use opened and closed brackets for MYPREFIX ?.
>
> No.
>
>         --- Noel
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

RE: Set the Alias

Posted by "Noel J. Bergman" <no...@devtech.com>.
> What can I put in the place of MYPREFIX  macro?.

Any text that you want.

> Do I need use opened and closed brackets for MYPREFIX ?.

No.

	--- Noel

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
Noel,

How are you ?.

Thanks for the info.

I have a question here.

What can I put in the place of MYPREFIX  macro?.

Do I need use opened and closed brackets for MYPREFIX ?.

I am sorry for giving you all the trouble.

Thanks,
Srinivas.


> This is taken from our config.xml, and works:
>
>          <mailet match="RecipientIs=ALIAS@MYDOMAIN.com" class="Redirect">
>             <recipients>USER1@MYDOMAIN.com,USER2@MYDOMAIN.com</recipients>
>             <prefix xml:space="preserve">[MYPREFIX] </prefix>
>             <inline>unaltered</inline>
>             <static>true</static>
>          </mailet>
>
> The stuff in all caps is changed just to prevent easy web scrapping.
>
>         --- Noel
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Set the Alias

Posted by "Noel J. Bergman" <no...@devtech.com>.
This is taken from our config.xml, and works:

         <mailet match="RecipientIs=ALIAS@MYDOMAIN.com" class="Redirect">
            <recipients>USER1@MYDOMAIN.com,USER2@MYDOMAIN.com</recipients>
            <prefix xml:space="preserve">[MYPREFIX] </prefix>
            <inline>unaltered</inline>
            <static>true</static>
         </mailet>

The stuff in all caps is changed just to prevent easy web scrapping.

	--- Noel

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
Noel,

How are you ?.

Thanks for the info.

I can look at on it on Monday.

Have a nice weekend.

Thanks,
Srinivas.

> If that is a trace of your spoolmanager log, then it does not appear that
> Redirect was called, so the e-mail is not being recognized as for
> sales@skat-sun-s8.telegea.com.  You might look at the smtpserver log to see
> what the RCPT TO said.
>
> It also appears that you have not configured the servername portion, because
> the fact that RemoteAddrNotInNetwork was executed tells us that James was
> considering forwarding the e-mail to another mail domain.  The e-mail wasn't
> recognized for sales@skat-sun-s8.telegea.com, it was not recognized for any
> local user, it wasn't recognized as intended for a local host ... probably
> the next thing that happened after the last line you pasted was
> RemoteDelivery attempt to send it.
>
>         --- Noel
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Set the Alias

Posted by "Noel J. Bergman" <no...@devtech.com>.
If that is a trace of your spoolmanager log, then it does not appear that
Redirect was called, so the e-mail is not being recognized as for
sales@skat-sun-s8.telegea.com.  You might look at the smtpserver log to see
what the RCPT TO said.

It also appears that you have not configured the servername portion, because
the fact that RemoteAddrNotInNetwork was executed tells us that James was
considering forwarding the e-mail to another mail domain.  The e-mail wasn't
recognized for sales@skat-sun-s8.telegea.com, it was not recognized for any
local user, it wasn't recognized as intended for a local host ... probably
the next thing that happened after the last line you pasted was
RemoteDelivery attempt to send it.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
Noel,

How are you ?.

Thanks for the info.
I was sending mail to only sales@skat-sun-s8.telegea.com.

Seems,I was found following info from the log file.

-----------------------------
27/08/02 11:45:32 DEBUG spoolmanager.root: Checking Mail1030463132885-95 with
org.apache.james.transport.matchers.RecipientIs@979e8b
27/08/02 11:45:32 DEBUG spoolmanager.root: Checking Mail1030463132885-95 with
org.apache.james.transport.matchers.All@29ce8c
27/08/02 11:45:32 DEBUG spoolmanager.root: Servicing Mail1030463132885-95 by
ToProcessor Mailet
27/08/02 11:45:32 INFO  spoolmanager: ==== Begin processing mail
Mail10304631328
85-95====
27/08/02 11:45:32 INFO  spoolmanager: Processing Mail1030463132885-95 through
tr
ansport
27/08/02 11:45:32 DEBUG spoolmanager.transport: Servicing mail:
Mail103046313288
5-95
27/08/02 11:45:32 DEBUG spoolmanager.transport: Checking Mail1030463132885-95
with org.apache.james.transport.matchers.RecipientIsLocal@ab09f
27/08/02 11:45:32 DEBUG spoolmanager.transport: Checking Mail1030463132885-95
with org.apache.james.transport.matchers.HostIsLocal@d1c778
27/08/02 11:45:32 DEBUG spoolmanager.transport: Checking Mail1030463132885-95
with org.apache.james.transport.matchers.RemoteAddrNotInNetwork@7eb366
27/08/02 11:45:32 DEBUG spoolmanager.transport: Checking Mail1030463132885-95
with org.apache.james.transport.matchers.All@33f0de
-------------------------------------------------------

Seems,sales inbox was receiving all the mails and kept-in the inbox.

Please advice me.

Thanks,
Srinivas.

> Are you sending the e-mail to "sales@skat-sun-s8.telegea.com" or should it
> be "sales@suncore.telegea.com"?
>
> 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: root@suncore.telegea.com [mailto:root@suncore.telegea.com]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="RecipientIs=sales@skat-sun-s8.telegea.com" class="Redirect">
>             <recipients>skatta@telegea.com,pbotla@telegea.com</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: root@suncore.telegea.com [mailto:root@suncore.telegea.com]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>skatta@telegea.com,pbotla@telegea.com</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(skatta@telegea.com,pbotla@telegea.com,etc...).
> > >
> > > I believe that the following should work:
> > >
> > >          <mailet match="RecipientIs=pricing@telegea.com"
> class="Redirect">
> > >
> <recipients>skatta@telegea.com,pbotla@telegea.com</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>pricing@telegea.com</to>
> > >
> > > The fix for that was committed to the CVS this morning.
> > >
> > >         --- Noel
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Set the Alias

Posted by "Noel J. Bergman" <no...@devtech.com>.
Are you sending the e-mail to "sales@skat-sun-s8.telegea.com" or should it
be "sales@suncore.telegea.com"?

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: root@suncore.telegea.com [mailto:root@suncore.telegea.com]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="RecipientIs=sales@skat-sun-s8.telegea.com" class="Redirect">
            <recipients>skatta@telegea.com,pbotla@telegea.com</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: root@suncore.telegea.com [mailto:root@suncore.telegea.com]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>skatta@telegea.com,pbotla@telegea.com</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(skatta@telegea.com,pbotla@telegea.com,etc...).
> >
> > I believe that the following should work:
> >
> >          <mailet match="RecipientIs=pricing@telegea.com"
class="Redirect">
> >
<recipients>skatta@telegea.com,pbotla@telegea.com</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>pricing@telegea.com</to>
> >
> > The fix for that was committed to the CVS this morning.
> >
> >         --- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
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="RecipientIs=sales@skat-sun-s8.telegea.com" class="Redirect">
            <recipients>skatta@telegea.com,pbotla@telegea.com</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: root@suncore.telegea.com [mailto:root@suncore.telegea.com]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>skatta@telegea.com,pbotla@telegea.com</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(skatta@telegea.com,pbotla@telegea.com,etc...).
> >
> > I believe that the following should work:
> >
> >          <mailet match="RecipientIs=pricing@telegea.com" class="Redirect">
> >             <recipients>skatta@telegea.com,pbotla@telegea.com</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>pricing@telegea.com</to>
> >
> > The fix for that was committed to the CVS this morning.
> >
> >         --- Noel
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Set the Alias

Posted by "Noel J. Bergman" <no...@devtech.com>.
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: root@suncore.telegea.com [mailto:root@suncore.telegea.com]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>skatta@telegea.com,pbotla@telegea.com</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(skatta@telegea.com,pbotla@telegea.com,etc...).
>
> I believe that the following should work:
>
>          <mailet match="RecipientIs=pricing@telegea.com" class="Redirect">
>             <recipients>skatta@telegea.com,pbotla@telegea.com</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>pricing@telegea.com</to>
>
> The fix for that was committed to the CVS this morning.
>
>         --- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
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>skatta@telegea.com,pbotla@telegea.com</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(skatta@telegea.com,pbotla@telegea.com,etc...).
>
> I believe that the following should work:
>
>          <mailet match="RecipientIs=pricing@telegea.com" class="Redirect">
>             <recipients>skatta@telegea.com,pbotla@telegea.com</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>pricing@telegea.com</to>
>
> The fix for that was committed to the CVS this morning.
>
>         --- Noel
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Set the Alias

Posted by "Noel J. Bergman" <no...@devtech.com>.
Srinivas,

> James should receive mail for pricing and it should send mail to all
external
> e-mail-ids(skatta@telegea.com,pbotla@telegea.com,etc...).

I believe that the following should work:

         <mailet match="RecipientIs=pricing@telegea.com" class="Redirect">
            <recipients>skatta@telegea.com,pbotla@telegea.com</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>pricing@telegea.com</to>

The fix for that was committed to the CVS this morning.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Srinivasa Rao Katta <sk...@telegea.com>.
Richard ,

How are you ?.

Is there any way for to send mail to all external e-mail-ids,If I send mail
to one local James user ?.

Here is the example.

I want send an e-mail to one local James user called pricing.

James should receive mail for pricing and it should send mail to all external
e-mail-ids(skatta@telegea.com,pbotla@telegea.com,etc...).

Please advice me.

Thanks,
Srinivas.




> Srinivas:
>
> The way I set up aliases was to add all the usernames first then use the
> setalias command.
>
> For example, you would first run the commands to add the usernames to the
> repository:
>
> adduser pricing password
> adduser skatta password
> adduser pbotla password
>
> Then, set the aliases using the commands:
>
> setalias pricing skatta
> setalias pricing pbotla
>
> I'm new to using James but was Here's how I set up alises.
>
> ----- Original Message -----
> From: "Srinivasa Rao Katta" <sk...@telegea.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> Sent: Thursday, September 26, 2002 3:56 PM
> Subject: Set the Alias
>
> > Folks,
> >
> > How are you ?.
> >
> > I have a question here regarding to set the alias.
> >
> > How can I set the alias to different e-mail-ids through James admin tool
> ?.
> >
> > ex:
> >
> > pricing:skatta@telegea.com,pbotla@telegea.com
> >
> > I want James should send e-mail to all -email-ids ,If I have sent to
> pricing.
> >
> > Please letme know the syntax too...
> >
> > Thanks,
> > Srinivas.
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Set the Alias

Posted by "Noel J. Bergman" <no...@devtech.com>.
Richard,

Didn't you notice that the second alias overrode the first?

The way that you would do this today in james would be to create a mailing
list named pricing whose members are the people whom you want to receive the
e-mail.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Set the Alias

Posted by Richard Pajerski <ri...@rhpconsult.com>.
Srinivas:

The way I set up aliases was to add all the usernames first then use the
setalias command.

For example, you would first run the commands to add the usernames to the
repository:

adduser pricing password
adduser skatta password
adduser pbotla password

Then, set the aliases using the commands:

setalias pricing skatta
setalias pricing pbotla


I'm new to using James but was Here's how I set up alises.


----- Original Message -----
From: "Srinivasa Rao Katta" <sk...@telegea.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Thursday, September 26, 2002 3:56 PM
Subject: Set the Alias


> Folks,
>
> How are you ?.
>
> I have a question here regarding to set the alias.
>
> How can I set the alias to different e-mail-ids through James admin tool
?.
>
> ex:
>
> pricing:skatta@telegea.com,pbotla@telegea.com
>
> I want James should send e-mail to all -email-ids ,If I have sent to
pricing.
>
> Please letme know the syntax too...
>
> Thanks,
> Srinivas.
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>