Mail Gateway issues

Hey Guys,

I’m sure this is a commonly answered email, but I can’t seem to find a
solution that works for me. I’m running the latest version of RT
(3.0.4) and have completed all the installation tasks and everything
appears to be working. However I can not get the mailgateway portion to
work correctly. I’ve added the required aliases to my /etc/aliases file
(running sendmail-8.11.6-25.73 on RH7.3):

general: “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/
general-comment: “|/opt/rt3/bin/rt-mailgate --queue general
–action comment --url http://tickets.hugehosting.com/
dedicated: “|/opt/rt3/bin/rt-mailgate --queue dedicated --action
correspond --url http://tickets.hugehosting.com/
dedicated-comment: “|/opt/rt3/bin/rt-mailgate --queue dedicated
–action comment --url http://tickets.hugehosting.com/
etc…

I ran into the issue of “smrsh” not being available however the symlink
fixed this problem. However now when email is sent to the system I get
stuck in the queue with the following in the log:

Jul 15 09:58:54 tickets sendmail[19912]: h6FFwsW19912:
from=root@tickets.hugehosting.com, size=283, class=0, nrcpts=1,
msgid=Pine.LNX.4.44.0307150958460.19909-100000@tickets.hugehosting.com,
proto=ESMTP, relay=root@localhost
Jul 15 09:58:54 tickets sendmail[19913]: h6FFwsW19912:
to=“|/opt/rt3/bin/rt-mailgate --queue private --action correspond --url
http://tickets.hugehosting.com/”,
ctladdr=private@tickets.hugehosting.com (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=prog, pri=30018, dsn=4.0.0, stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

I’ve tried multiple permissions changes, and searched all over google
and other sources to find a solution. However with no luck.

Can anyone help?

Thanks in advance,
Ryan

Can you run sendmail manually?

What do you mean by ‘smrsh’ not available.
On my system ‘man smrsh’ said to put the link in /var/adm/sm.bin, and in there I have a link

rt-mailgate → /opt/rt3/bin/rt-mailgate.

Can you describe that setup?

Gregory L. Hering
(256) 722-6420
4807 Bradford Dr
Benchmark Electronics, Inc.
Huntsville, Al 35805-----Original Message-----
From: Ryan MacDonald [mailto:ryan@hugehosting.com]
Sent: Tuesday, July 15, 2003 11:02 AM
To: rt-users@lists.fsck.com
Subject: [rt-users] Mail Gateway issues

Hey Guys,

I’m sure this is a commonly answered email, but I can’t seem to find a
solution that works for me. I’m running the latest version of RT
(3.0.4) and have completed all the installation tasks and everything
appears to be working. However I can not get the mailgateway portion to
work correctly. I’ve added the required aliases to my /etc/aliases file
(running sendmail-8.11.6-25.73 on RH7.3):

general: “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/
general-comment: “|/opt/rt3/bin/rt-mailgate --queue general
–action comment --url http://tickets.hugehosting.com/
dedicated: “|/opt/rt3/bin/rt-mailgate --queue dedicated --action
correspond --url http://tickets.hugehosting.com/
dedicated-comment: “|/opt/rt3/bin/rt-mailgate --queue dedicated
–action comment --url http://tickets.hugehosting.com/
etc…

I ran into the issue of “smrsh” not being available however the symlink
fixed this problem. However now when email is sent to the system I get
stuck in the queue with the following in the log:

Jul 15 09:58:54 tickets sendmail[19912]: h6FFwsW19912:
from=root@tickets.hugehosting.com, size=283, class=0, nrcpts=1,
msgid=Pine.LNX.4.44.0307150958460.19909-100000@tickets.hugehosting.com,
proto=ESMTP, relay=root@localhost
Jul 15 09:58:54 tickets sendmail[19913]: h6FFwsW19912:
to=“|/opt/rt3/bin/rt-mailgate --queue private --action correspond --url
http://tickets.hugehosting.com/”,
ctladdr=private@tickets.hugehosting.com (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=prog, pri=30018, dsn=4.0.0, stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

I’ve tried multiple permissions changes, and searched all over google
and other sources to find a solution. However with no luck.

Can anyone help?

Thanks in advance,
Ryan

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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Does your sendmail.mc have the following features?

define(confEBINDIR', /usr/libexec’)dnl
FEATURE(smrsh',/usr/local/libexec/smrsh’)dnl

That’s what I got in my sendmail.mc, and you got the link to rt-mailgate
correct. Maybe you’re not actually calling smrsh correctly.

It’s a sendmail issue though, not an rt problem.On Tue, 2003-07-15 at 10:48, Greg.Hering@bench.com wrote:

Can you run sendmail manually?

What do you mean by ‘smrsh’ not available.
On my system ‘man smrsh’ said to put the link in /var/adm/sm.bin, and in there I have a link

rt-mailgate → /opt/rt3/bin/rt-mailgate.

Can you describe that setup?

Gregory L. Hering
(256) 722-6420
4807 Bradford Dr
Benchmark Electronics, Inc.
Huntsville, Al 35805

-----Original Message-----
From: Ryan MacDonald [mailto:ryan@hugehosting.com]
Sent: Tuesday, July 15, 2003 11:02 AM
To: rt-users@lists.fsck.com
Subject: [rt-users] Mail Gateway issues

Hey Guys,

I’m sure this is a commonly answered email, but I can’t seem to find a
solution that works for me. I’m running the latest version of RT
(3.0.4) and have completed all the installation tasks and everything
appears to be working. However I can not get the mailgateway portion to
work correctly. I’ve added the required aliases to my /etc/aliases file
(running sendmail-8.11.6-25.73 on RH7.3):

general: “|/opt/rt3/bin/rt-mailgate --queue general --action
correspond --url http://localhost/
general-comment: “|/opt/rt3/bin/rt-mailgate --queue general
–action comment --url http://tickets.hugehosting.com/
dedicated: “|/opt/rt3/bin/rt-mailgate --queue dedicated --action
correspond --url http://tickets.hugehosting.com/
dedicated-comment: “|/opt/rt3/bin/rt-mailgate --queue dedicated
–action comment --url http://tickets.hugehosting.com/
etc…

I ran into the issue of “smrsh” not being available however the symlink
fixed this problem. However now when email is sent to the system I get
stuck in the queue with the following in the log:

Jul 15 09:58:54 tickets sendmail[19912]: h6FFwsW19912:
from=root@tickets.hugehosting.com, size=283, class=0, nrcpts=1,
msgid=Pine.LNX.4.44.0307150958460.19909-100000@tickets.hugehosting.com,
proto=ESMTP, relay=root@localhost
Jul 15 09:58:54 tickets sendmail[19913]: h6FFwsW19912:
to=“|/opt/rt3/bin/rt-mailgate --queue private --action correspond --url
http://tickets.hugehosting.com/”,
ctladdr=private@tickets.hugehosting.com (8/0), delay=00:00:00,
xdelay=00:00:00, mailer=prog, pri=30018, dsn=4.0.0, stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

I’ve tried multiple permissions changes, and searched all over google
and other sources to find a solution. However with no luck.

Can anyone help?

Thanks in advance,
Ryan


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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


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

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
Rob Joost
Unix Administrator

KnowledgeNet
14624 N. Scottsdale Road, #300
Scottsdale, AZ 85254
Phone: (480) 315-4841
Cell: (602) 920-6113
Email: rob.joost@knowledgenet.com
Web: http://www.knowledgenet.com/

Why KnowledgeNet? Listen and learn from top customers – Cisco, US
Postal Service, and EMC, to name a few!
http://www.knowledgenet.com/onlineevents/