E-mail problems

Nothing worth having comes easy :slight_smile:

New RT3.4.4 on RHEL4 install

RT is working file but isn’t creating tickets that come in as e-mail

/etc/aliases:

The Tek queue

Tek-noc: “|/opt/rt3/bin/rt-mailgate --queue Tek-noc --action correspond
–url
http://frankie.vigilancemonitoring.com/rt/
Tek-noc-comment: “|/opt/rt3/bin/rt-mailgate --queue Tek-noc --action comment
–url http://frankie.vigilancemonitoring.com/rt/

/var/log/maillog:

Sep 1 00:26:41 frankie sendmail[15127]: j817QeAX015127:
from=<Jones@Easyrider.c
om>, size=633, class=0, nrcpts=1,
msgid=<5.2.0.9.0.20050901002558.03f84878@mail.
aracnet.com>, proto=ESMTP, daemon=MTA, relay=jade.aracnet.com [216.99.193.136]
Sep 1 00:26:41 frankie sendmail[15128]: j817QeAX015127:
to=“|/opt/rt3/bin/rt-ma
ilgate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitor
ing.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com (8/0),
delay=00:
00:00, xdelay=00:00:00, mailer=prog, pri=30869, dsn=4.0.0, stat=Deferred:
prog m
ailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
Sep 1 00:27:04 frankie sendmail[15130]: j817QeAX015127:
to=“|/opt/rt3/bin/rt-ma
ilgate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitor
ing.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com (8/0),
delay=00:
00:23, xdelay=00:00:00, mailer=prog, pri=120869, dsn=4.0.0, stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
Sep 1 00:27:05 frankie sendmail[15130]: j81795aP015094:
to=“|/opt/rt3/bin/rt-ma
ilgate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitor
ing.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com (8/0),
delay=00:
17:54, xdelay=00:00:00, mailer=prog, pri=121866, dsn=4.0.0, stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

Did you put or link rt-mailgate in /etc/smrsh? This is more or less
required (out of the box) when running rhel I think… Its been a long
time since I set up ours, but were running rhel3 and I distinctly
remember this ‘problem’ and the solution was to link from /etc/smrsh
among some other sendmail tom foolery.

How about using rt-mailgate manually? Can you create tickets that way?
How about the rt logs?-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Frank
Saxton
Sent: Thursday, September 01, 2005 3:30 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] E-mail problems

Nothing worth having comes easy :slight_smile:

New RT3.4.4 on RHEL4 install

RT is working file but isn’t creating tickets that come in as e-mail

/etc/aliases:

The Tek queue

Tek-noc: “|/opt/rt3/bin/rt-mailgate --queue Tek-noc --action
correspond
–url
http://frankie.vigilancemonitoring.com/rt/
Tek-noc-comment: “|/opt/rt3/bin/rt-mailgate --queue Tek-noc --action
comment
–url http://frankie.vigilancemonitoring.com/rt/

/var/log/maillog:

Sep 1 00:26:41 frankie sendmail[15127]: j817QeAX015127:
from=<Jones@Easyrider.c
om>, size=633, class=0, nrcpts=1,
msgid=<5.2.0.9.0.20050901002558.03f84878@mail.
aracnet.com>, proto=ESMTP, daemon=MTA, relay=jade.aracnet.com
[216.99.193.136]
Sep 1 00:26:41 frankie sendmail[15128]: j817QeAX015127:
to=“|/opt/rt3/bin/rt-ma
ilgate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitor
ing.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com (8/0),
delay=00:
00:00, xdelay=00:00:00, mailer=prog, pri=30869, dsn=4.0.0,
stat=Deferred:
prog m
ailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
Sep 1 00:27:04 frankie sendmail[15130]: j817QeAX015127:
to=“|/opt/rt3/bin/rt-ma
ilgate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitor
ing.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com (8/0),
delay=00:
00:23, xdelay=00:00:00, mailer=prog, pri=120869, dsn=4.0.0,
stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
Sep 1 00:27:05 frankie sendmail[15130]: j81795aP015094:
to=“|/opt/rt3/bin/rt-ma
ilgate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitor
ing.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com (8/0),
delay=00:
17:54, xdelay=00:00:00, mailer=prog, pri=121866, dsn=4.0.0,
stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL

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

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

Hello John,

Yes, I followed the instructions very closely… copied rt-mailgate to
/etc/smrsh

I can enter tickets manually thorugh the RT GUI but the RT mail piece is
prety much broken. Sendmail itself seems to be just fine though. Don;t
know how to manually run rt-mailgate. Following is a maillog entry and
running rt-mailgate manually that hung. I’m sure I used the wrong syntax
though. /opt/rt3/var/log is empty. Other logs I should look at?

Sep 1 08:55:36 frankie sendmail[21801]: j81FtKaD021801:
from=<Jones@Easyrider.c
om>, size=633, class=0, nrcpts=1,
msgid=<5.2.0.9.0.20050901085458.04045300@mail.
aracnet.com>, proto=ESMTP, daemon=MTA, relay=jade.aracnet.com [216.99.193.136]
Sep 1 08:55:36 frankie sendmail[21802]: j81FtKaD021801:
to=“|/etc/smrsh/rt-mail
gate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitorin
g.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com (8/0),
delay=00:00
:00, xdelay=00:00:00, mailer=prog, pri=30869, dsn=4.0.0, stat=Deferred:
prog mai
ler (/usr/sbin/smrsh) exited with EX_TEMPFAIL

[root@frankie rt-3.4.4]# /etc/smrsh/rt-mailgate --queue Tek-noc --action
corresp
ond --url http://frankie.vigilancemonitoring.com/rt/

[root@frankie rt-3.4.4]#

At 04:41 AM 9/1/2005 -0400, Priddy, John wrote:

Try something like:

[jpriddy@rt smrsh]$ cat /etc/aliases | /etc/smrsh/rt-mailgate

–action correspond --queue techsupport --url http://youripaddresshere

This should create a nobody:nobody ticket with no subject and contents
of /etc/aliases in this case. I know on my system i have to have the
ipaddress for url on /etc/aliases, it would not play nice with just
putting rt.domain, maybe you have the same issue?

As far as the logs you need to create a /opt/rt3/var/log/rt.log and give
it www:www ownership (check your siteconfig for details on setting this
up).On Thu, 2005-09-01 at 12:05 -0400, Frank Saxton wrote:

Hello John,

Yes, I followed the instructions very closely… copied rt-mailgate
to
/etc/smrsh

I can enter tickets manually thorugh the RT GUI but the RT mail piece
is
prety much broken. Sendmail itself seems to be just fine though.
Don;t
know how to manually run rt-mailgate. Following is a maillog entry
and
running rt-mailgate manually that hung. I’m sure I used the wrong
syntax
though. /opt/rt3/var/log is empty. Other logs I should look at?

Sep 1 08:55:36 frankie sendmail[21801]: j81FtKaD021801:
from=<Jones@Easyrider.c
om>, size=633, class=0, nrcpts=1,
msgid=<5.2.0.9.0.20050901085458.04045300@mail.
aracnet.com>, proto=ESMTP, daemon=MTA, relay=jade.aracnet.com
[216.99.193.136]
Sep 1 08:55:36 frankie sendmail[21802]: j81FtKaD021801:
to=“|/etc/smrsh/rt-mail
gate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitorin
g.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com (8/0),
delay=00:00
:00, xdelay=00:00:00, mailer=prog, pri=30869, dsn=4.0.0,
stat=Deferred:
prog mai
ler (/usr/sbin/smrsh) exited with EX_TEMPFAIL

[root@frankie rt-3.4.4]# /etc/smrsh/rt-mailgate --queue Tek-noc
–action
corresp
ond --url http://frankie.vigilancemonitoring.com/rt/

[root@frankie rt-3.4.4]#

At 04:41 AM 9/1/2005 -0400, Priddy, John wrote:

Did you put or link rt-mailgate in /etc/smrsh? This is more or less
required (out of the box) when running rhel I think… Its been a
long
time since I set up ours, but were running rhel3 and I distinctly
remember this ‘problem’ and the solution was to link
from /etc/smrsh
among some other sendmail tom foolery.

How about using rt-mailgate manually? Can you create tickets that
way?
How about the rt logs?

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Frank
Saxton
Sent: Thursday, September 01, 2005 3:30 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] E-mail problems

Nothing worth having comes easy :slight_smile:

New RT3.4.4 on RHEL4 install

RT is working file but isn’t creating tickets that come in as e-mail

/etc/aliases:

The Tek queue

Tek-noc: “|/opt/rt3/bin/rt-mailgate --queue Tek-noc --action
correspond
–url
http://frankie.vigilancemonitoring.com/rt/
Tek-noc-comment: “|/opt/rt3/bin/rt-mailgate --queue Tek-noc
–action
comment
–url http://frankie.vigilancemonitoring.com/rt/

/var/log/maillog:

Sep 1 00:26:41 frankie sendmail[15127]: j817QeAX015127:
from=<Jones@Easyrider.c
om>, size=633, class=0, nrcpts=1,
msgid=<5.2.0.9.0.20050901002558.03f84878@mail.
aracnet.com>, proto=ESMTP, daemon=MTA, relay=jade.aracnet.com
[216.99.193.136]
Sep 1 00:26:41 frankie sendmail[15128]: j817QeAX015127:
to=“|/opt/rt3/bin/rt-ma
ilgate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitor
ing.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com
(8/0),
delay=00:
00:00, xdelay=00:00:00, mailer=prog, pri=30869, dsn=4.0.0,
stat=Deferred:
prog m
ailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
Sep 1 00:27:04 frankie sendmail[15130]: j817QeAX015127:
to=“|/opt/rt3/bin/rt-ma
ilgate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitor
ing.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com
(8/0),
delay=00:
00:23, xdelay=00:00:00, mailer=prog, pri=120869, dsn=4.0.0,
stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL
Sep 1 00:27:05 frankie sendmail[15130]: j81795aP015094:
to=“|/opt/rt3/bin/rt-ma
ilgate --queue Tek-noc --action correspond --url
http://frankie.vigilancemonitor
ing.com/rt/”, ctladdr=Tek-noc@frankie.vigilancemonitoring.com
(8/0),
delay=00:
17:54, xdelay=00:00:00, mailer=prog, pri=121866, dsn=4.0.0,
stat=Deferred: prog
mailer (/usr/sbin/smrsh) exited with EX_TEMPFAIL


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com


The rt-users Archives

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

Thanks again John!

I think I have my e-mail and my GUI issues straightened out now. I wish I
could say for certainty what fixed everything but I can’t. I made some
minor changes to httpd.conf and /opt/rt3/etc/RT_SiteConfig.pm which seemed
to take care of it.

It was definitely not /etc/smrsh/rt-mailgate though. I seem to recall
going down that same rat hole last time too :frowning:

Don’t know if it was one specific thing or a combination of little things.
I didn’t make any particularly astounding changes. In any case, RT seems
to be a happy camper, at least for the moment.

Thanks again!

At 02:19 PM 9/1/2005 -0400, John Priddy wrote: