[rt-users] RT 3.8.8 rt-mailgate issues

Val Polyakov val at polyakov.me
Tue Sep 14 16:11:18 EDT 2010


Hello, anyone ?

[root at myhost ~]# echo "hi" | /etc/smrsh/rt-mailgate --queue General
--action correspond --url http://myhost.mydomain.com/ticket --debug
/etc/smrsh/rt-mailgate: temp file is '/tmp/Bsdm047j3r'
/etc/smrsh/rt-mailgate: connecting to
http://myhost.mydomain.com/ticket/REST/1.0/NoAuth/mail-gateway
not ok - Could not load a valid user
[root at myhost ~]#

I have granted CreateTicket and ReplyToTicket rights to "Everyone" for the
general queue ...

does anyone know what's going on?


> 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 at myhost.mydomain.com>, size=353, class=0, nrcpts=1,
> msgid=<201009141820.o8EIKDoZ032686 at 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 at 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 at 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 at myhost ~]# cat msg.txt | /etc/smrsh/rt-mailgate --queue general
> --action correspond --url http://myhost.mydomain.com/ticket
> [root at myhost ~]#
>
> [root at myhost ~]# cat msg.txt
> testing
> [root at myhost ~]#
>
>
>
> Can anyone push me in the right direction on how to troubleshoot this?
>
>
>
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!
>





More information about the rt-users mailing list