Mail Gateway Setup

Hi,

I had this problem a while ago

Put a symlink to rt-mailgate in the /etc/smrsh directory.

i.e. cd /etc/smrsh; ln -s /opt/rt2/bin/rt-mailgate rt-mailgate

Hope this help,

Ben.

rt: "|/opt/rt2/bin/rt-mailgate --queue general --action
correspond"
rt-action: “|/opt/rt2/bin/rt-mailgate --queue general --action
action”

Whenever I try to send emails to “rt” I get the following error:

!!!
!!!

----- The following addresses had permanent fatal errors -----

“|/opt/rt2/bin/rt-mailgate --queue general --action correspond”
(reason: service unavailable)
(expanded from: rt)

----- Transcript of session follows -----
smrsh: rt-mailgate not available for sendmail programs
554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action
correspond”… Service unavailable

Reporting-MTA: dns; ticketserv.forum.org
Arrival-Date: Wed, 11 Apr 2001 11:40:11 +0200

Final-Recipient: RFC822; rt@ticketserv.forum.org
X-Actual-Recipient: X-Unix; |/opt/rt2/bin/rt-mailgate --queue general
–action correspond
Action: failed
Status: 5.5.0
Diagnostic-Code: X-Unix; 69
Last-Attempt-Date: Wed, 11 Apr 2001 11:40:13 +0200

!!!
!!!

rt: "|/opt/rt2/bin/rt-mailgate --queue general --action
correspond"
rt-action: “|/opt/rt2/bin/rt-mailgate --queue general --action
action”

Whenever I try to send emails to “rt” I get the following error:
!!!

----- The following addresses had permanent fatal errors -----

“|/opt/rt2/bin/rt-mailgate --queue general --action correspond”
(reason: service unavailable)
(expanded from: rt)

----- Transcript of session follows -----
smrsh: rt-mailgate not available for sendmail programs
554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action
correspond”… Service unavailable

Reporting-MTA: dns; ticketserv.forum.org
Arrival-Date: Wed, 11 Apr 2001 11:40:11 +0200

Final-Recipient: RFC822; rt@ticketserv.forum.org
X-Actual-Recipient: X-Unix; |/opt/rt2/bin/rt-mailgate --queue general
–action correspond
Action: failed
Status: 5.5.0
Diagnostic-Code: X-Unix; 69
Last-Attempt-Date: Wed, 11 Apr 2001 11:40:13 +0200

!!!

What in the world is going on? And how do I get around this?
Please, help!

Thanks.
Mixo
(I am curerntly using version 2.3-69 of RT, and sendmail 8.x -the version
that comes with redhat 7.0)

Sounds like sendmail restricted shell (smrsh) is clobbering rt-mailgate,
look for your smrsh directory and symlink rt-mailgate into it.

weirDOn Wed, 11 Apr 2001, Mixo wrote:

rt: "|/opt/rt2/bin/rt-mailgate --queue general --action
correspond"
rt-action: “|/opt/rt2/bin/rt-mailgate --queue general --action
action”

Whenever I try to send emails to “rt” I get the following error:
!!!

----- The following addresses had permanent fatal errors -----

“|/opt/rt2/bin/rt-mailgate --queue general --action correspond”
(reason: service unavailable)
(expanded from: rt)

----- Transcript of session follows -----
smrsh: rt-mailgate not available for sendmail programs
554 5.0.0 “|/opt/rt2/bin/rt-mailgate --queue general --action
correspond”… Service unavailable

Reporting-MTA: dns; ticketserv.forum.org
Arrival-Date: Wed, 11 Apr 2001 11:40:11 +0200

Final-Recipient: RFC822; rt@ticketserv.forum.org
X-Actual-Recipient: X-Unix; |/opt/rt2/bin/rt-mailgate --queue general
–action correspond
Action: failed
Status: 5.5.0
Diagnostic-Code: X-Unix; 69
Last-Attempt-Date: Wed, 11 Apr 2001 11:40:13 +0200

!!!

What in the world is going on? And how do I get around this?
Please, help!

Thanks.
Mixo
(I am curerntly using version 2.3-69 of RT, and sendmail 8.x -the version
that comes with redhat 7.0)


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Douglas Weir dweir@theochem.uwaterloo.ca
Chemical Physics Dept. Earth-Science & Chemistry 330A
University Of Waterloo (519) 888-4567 x6110
ANTI-SPAM Policy: Only mail addressed “To:” dweir (this excludes all of
’undisclosed recipients’/Cc/Bcc/etc) and certain pre-authorised mailing
lists will survive the spam filtering process.

I’ve added

“|/opt/rt3/bin/rt-mailgate --queue general --action correspond --url
http://localhost/

on a RedHat 8.0 installation. When I run “newaliases”, I get

“cannot alias non-local names”

Is there a suggested workaround?
Is there something in my sendmail.mc file which causes this?

David Cogley

you forgot the first part of the alias declaration :

somename : “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/

.-. Robert GRASSO - CEDRAT S.A.
/v\ 10, Chemin de Pre Carre - ZIRST - 38246 MEYLAN Cedex - FRANCE
// \ Tel: +33 (0)4 76 90 50 45 Fax: +33 (0)4 76 90 16 09
/( )\ mailto:Robert.Grasso@cedrat.com
^^-^^
UNIX was not designed to stop you from doing stupid things, because
that would also stop you from doing clever things. – Doug Gwyn
Support service : mailto:support@cedrat.com
Commercial service : mailto:cedrat@cedrat.com
Web site : http://www.cedrat.com