[rt-users] Mail Alias Setup
Mauricio Tavares
raubvogel at gmail.com
Thu Sep 3 14:41:13 EDT 2009
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.hartley at 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: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
More information about the rt-users
mailing list