[rt-users] RT 3.8.8 rt-mailgate issues

Kevin Falcone falcone at bestpractical.com
Thu Sep 16 13:27:31 EDT 2010


On Tue, Sep 14, 2010 at 04:11:18PM -0400, Val Polyakov wrote:
> Hello, anyone ?
> 
> [root at myhost ~]# echo "hi" | /etc/smrsh/rt-mailgate --queue General

This is not a valid test.  You need to have a From: line or you'll get

> --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

not a valid user

Your previous report lacked RT's logs of the error which means any
answer is a guess.

-kevin

> [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!
> >
> 
> 
> 
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100916/845833e8/attachment.sig>


More information about the rt-users mailing list