Re: [rt-users] Mail Alias Setup

2009-09-03 Thread Baskaraganesan Natarajan
Hi,

I need some help in understanding the line for mail alias setup.  I understand 
that when a mail is sent to the id rt, it gets redirected to the members 
specified in the second column.  I am not sure why this gets redirected and why 
the | is used in here.

rt: |/etc/smrsh/rt-mailgate --queue 'general' --action correspond --url 
!http://rt3-host/

Thanks,
Baskar N


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Mail Alias Setup

2009-09-03 Thread Odhiambo Washington
On Thu, Sep 3, 2009 at 3:22 PM, Baskaraganesan Natarajan banat...@hcl.inwrote:

  Hi,



 I need some help in understanding the line for mail alias setup.  I
 understand that when a mail is sent to the id rt, it gets redirected to the
 members specified in the second column.  I am not sure why this gets
 redirected and why the | is used in here.



 rt: |/etc/smrsh/rt-mailgate --queue 'general' --action correspond --url
 !http://rt3-host/



The | is a pipe.

And you don't need the ! before yout http in that line.

What documentation is this you are reading?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
If you have nothing good to say about someone, just shut up!.
  -- Lucky Dube
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Mail Alias Setup

2009-09-03 Thread Joe Hartley
Baskaraganesan Natarajan writes:
 rt: |/etc/smrsh/rt-mailgate --queue 'general' --action correspond --url 
 http://rt3-host/
 
 Can you please explain what this line mean.  I understand that “rt” is a 
 mailer alias and any mail sent to rt in this server will be sent to user 
 in the second column.

The pipe in a UNIX shell takes the output from a program or process and 
sends it to be the input of another.

When the second half of an alias begins with a pipe, it takes the output
from sendmail (the email message) and pipes it to the command listed in
the alias to be used as that program's input - in this case, the 
rt-mailgate program.  



--
Joe Hartley | Sr. Linux SysAdmin
Retail Solutions, Inc.
40 Sharpe Drive
Cranston, RI 02920
joe.hart...@retailsolutions.com 
+1 401.824.5040 (o) | +1 401.824.5002 (f)

 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Mail Alias Setup

2009-09-03 Thread Mauricio Tavares
Joe Hartley wrote:
 Baskaraganesan Natarajan writes:
 rt: |/etc/smrsh/rt-mailgate --queue 'general' --action correspond --url 
 http://rt3-host/

 Can you please explain what this line mean.  I understand that “rt” is a 
 mailer alias and any mail sent to rt in this server will be sent to user 
 in the second column.
 
 The pipe in a UNIX shell takes the output from a program or process and 
 sends it to be the input of another.
 
 When the second half of an alias begins with a pipe, it takes the output
 from sendmail (the email message) and pipes it to the command listed in
 the alias to be used as that program's input - in this case, the 
 rt-mailgate program.  
 
And, depending on your mts and unix/linux distro, the man page for 
alias will have a paragraph explaining that in addition to aliasing one 
address to the other, you can also pass the email to a program by using 
the unix pipe | thingie.

 --
 Joe Hartley | Sr. Linux SysAdmin
 Retail Solutions, Inc.
 40 Sharpe Drive
 Cranston, RI 02920
 joe.hart...@retailsolutions.com 
 +1 401.824.5040 (o) | +1 401.824.5002 (f)
 
  
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com