Alias Error

Hello,

I have successfully installed RT, but I cannot successfully get the
program to receive e-mail.

The following line is in my /etc/aliases file:

support: “|/opt/rt/bin/rt-mailgate support”

Upon sending mail to support@domain.com from the server, I get this error
message:

“|/opt/rt/bin/rt-mailgate support”… Connecting to prog…
“|/opt/rt/bin/rt-mailgate support”… Service unavailable

Yet if I execute

“cat file |/opt/rt/bin/rt-mailgate support”

it will send that file to the program just fine and I can see it in the
ticket pool.

Anyone know what I am doing wrong?

Vince Paglione
vince@jtan.com

Hello,

I have successfully installed RT, but I cannot successfully get the
program to receive e-mail.

The following line is in my /etc/aliases file:

support: “|/opt/rt/bin/rt-mailgate support”

This should be:

support: “|/opt/rt/bin/rt-mailgate support correspond”

You need to indicate the type of process (correspond, action)

Hope this helps

Frances

The following line is in my /etc/aliases file:

support: “|/opt/rt/bin/rt-mailgate support”

This should be:

support: “|/opt/rt/bin/rt-mailgate support correspond”

I tried adding that correspond to it to, and it still does not work. I of
course updated the alias file too with newaliases. Any ideas? It just
isn’t receiving the mail completely.

Vince Paglione
vince@jtan.com

At 10:05 PM 2/3/2001 -0500, Vincent Paglione wrote:

The following line is in my /etc/aliases file:

support: “|/opt/rt/bin/rt-mailgate support”

This should be:

support: “|/opt/rt/bin/rt-mailgate support correspond”

I tried adding that correspond to it to, and it still does not work. I of
course updated the alias file too with newaliases. Any ideas? It just
isn’t receiving the mail completely.

Did you read the FAQ about /etc/smrsh?

Russ Johnson
Stargate Online

telnet://telnet.dimstar.net
ICQ: 3739685

0100,0100,0100On 3 Feb 01, at 22:05, Vincent Paglione wrote:

7F00,0000,0000> > > The following line is in my /etc/aliases file:

support: “|/opt/rt/bin/rt-mailgate support”

This should be:

support: “|/opt/rt/bin/rt-mailgate support correspond”

I tried adding that correspond to it to, and it still does not work. I

of course updated the alias file too with newaliases. Any ideas? It

just isn’t receiving the mail completely.

In addition to needing the “correspond” (or comment or action) in the /etc/aliases
line, the error message you are getting sounds like a SMRSH problem:

Upon sending mail to support@domain.com from the server, I Arialget >this error

message:

“|/opt/rt/bin/rt-mailgate support”… Connecting to prog…

“|/opt/rt/bin/rt-mailgate support”… Service unavailable

Times New RomanThere is a FAQ about this:Arial

leftTimes New Roman~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

left0100,0100,0100Sendmail has a program called smrsh. smrsh restricts what binaries can be run
from sendmail aliases. I think it keeps the programs in /etc/smrsh on redhat6.
add a symlink from /usr/local/rt/bin/rt-mailgate to /etc/smrsh/rt-mailgate and
things should work better.

left~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Frances0000,8000,0000

In addition to needing the “correspond” (or comment or action) in the
/etc/aliases line, the error message you are getting sounds like a
SMRSH problem:

Upon sending mail to support@domain.com from the server, I >get this
error

“|/opt/rt/bin/rt-mailgate support”… Connecting to prog…

“|/opt/rt/bin/rt-mailgate support”… Service unavailable

Well, I added a link to the rt-mailgate in the proper directory for
SMRSH. Now when sending mail locally, I get this message back:

support@wdomain.com… Connecting to local…
support@domain.com… Sent

I sent the mail successfully here, but it did not get properly aliased to
the support account. Yet when I pipe a message to the program, it still
works. Does anyone have an idea why this would not work?

Vince Paglione
vince@jtan.com

In addition to needing the “correspond” (or comment or action) in
the /etc/aliases line, the error message you are getting sounds like
a SMRSH problem:

Upon sending mail to support@domain.com from the server, I >get
this
error

“|/opt/rt/bin/rt-mailgate support”… Connecting to prog…

“|/opt/rt/bin/rt-mailgate support”… Service unavailable

Well, I added a link to the rt-mailgate in the proper directory for
SMRSH. Now when sending mail locally, I get this message back:

support@wdomain.com… Connecting to local…
support@domain.com… Sent

I sent the mail successfully here, but it did not get properly aliased
to the support account. Yet when I pipe a message to the program, it
still works. Does anyone have an idea why this would not work?

My original comment still applies - did you put “correspond” in the
/etc/aliases line?

Frances

My original comment still applies - did you put “correspond” in the
/etc/aliases line?

Yes. Here is the line in my /etc/aliases file:

support: “|/usr/adm/sm.bin/rt-mailgate support correspond”

Although it appears that it still is not piping the message. The reason is
because I could move “rt-mailgate” to “Xrt-mailgate” and send a
message. Here’s what I would get back:

support@webxonline.com… Connecting to local…
support@webxonline.com… Sent

So even though the file /usr/adm/sm.bin/rt-mailgate didn’t exist, it did
not give any error messages back. So it looks like it still isn’t piping
it properly. Any ideas?

Vince Paglione
vince@jtan.com