On Tue, Sep 14, 2010 at 04:11:18PM -0400, Val Polyakov wrote:
> Hello, anyone ?
> 
> [r...@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

> [r...@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=<[email protected]>, size=353, class=0, nrcpts=1,
> > msgid=<[email protected]>, proto=ESMTP,
> > daemon=MTA, relay=localhost.localdomain [127.0.0.1]
> > Sep 14 14:20:13 myhost sendmail[32686]: o8EIKDoZ032686:
> > [email protected], 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=<[email protected]>
> > (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:
> >
> > [r...@myhost ~]# cat msg.txt | /etc/smrsh/rt-mailgate --queue general
> > --action correspond --url http://myhost.mydomain.com/ticket
> > [r...@myhost ~]#
> >
> > [r...@myhost ~]# cat msg.txt
> > testing
> > [r...@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!

Attachment: pgpC2lntzgmSY.pgp
Description: PGP signature

RT Training in Washington DC, USA on Oct 25 & 26 2010
Last one this year -- Learn how to get the most out of RT!

Reply via email to