rt-mailgate doesn’t seem to be injecting new tickets into a fresh install
of rt 3.8.8 on RHEL5
/var/log/maillog reports:
Sep 14 14:20:13 myhost sendmail[32687]: o8EIKDHh032687:
from=root@myhost.mydomain.com, size=353, class=0, nrcpts=1,
msgid=201009141820.o8EIKDoZ032686@myhost.mydomain.com, proto=ESMTP,
daemon=MTA, relay=localhost.localdomain [127.0.0.1]
Sep 14 14:20:13 myhost sendmail[32686]: o8EIKDoZ032686:
to=rt@myhost.mydomain.com, ctladdr=root (0/0), delay=00:00:00,
xdelay=00:00:00, mailer=relay, pri=30065, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (o8EIKDHh032687 Message accepted for delivery)
Sep 14 14:20:13 myhost sendmail[32688]: o8EIKDHh032687:
to=“|/etc/smrsh/rt-mailgate --queue general --action correspond --url
http://myhost.mydomain.com/ticket”, ctladdr=rt@myhost.mydomain.com
(8/0), delay=00:00:00, xdelay=00:00:00, mailer=prog, pri=30576, dsn=2.0.0,
stat=Sent
I have the following in /etc/aliases :
rt: “|/etc/smrsh/rt-mailgate --queue general --action correspond --url
http://myhost.mydomain.com/ticket”
rt-comment: “|/etc/smrsh/rt-mailgate --queue general --action comment
–url http://myhost.mydomain.com/ticket”
The following produces no errors, but doesn’t inject the ticket into RT
either:
[root@myhost ~]# cat msg.txt | /etc/smrsh/rt-mailgate --queue general
–action correspond --url http://myhost.mydomain.com/ticket
[root@myhost ~]#
[root@myhost ~]# cat msg.txt
testing
[root@myhost ~]#
Can anyone push me in the right direction on how to troubleshoot this?