Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

Re: [rt-users] rt-mailgate is failing

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


ruslan.zakirov at gmail

Apr 30, 2009, 2:06 PM

Post #1 of 3 (1112 views)
Permalink
Re: [rt-users] rt-mailgate is failing

3.8's mailgate dowsn't allow you to create a ticket with a requestor.

On Fri, May 1, 2009 at 1:01 AM, Asif Iqbal <vadud3 [at] gmail> wrote:
> The upgraded RT 3.8.2 is failing with rt-mailgate. The original installation
> works just fine. What am I missing?
>
> (iqbala)@qmail:~$ echo this is a test | /tmp/rt-mailgate --queue syshelp
> --action correspond --url https://192.168.0.174 --debug
> /tmp/rt-mailgate: temp file is '/tmp/mmF2JFMLdU'
> /tmp/rt-mailgate: connecting to
> https://192.168.0.174/REST/1.0/NoAuth/mail-gateway
> not ok - Could not load a valid user
>
> (iqbala)@qmail:~$ echo this is a test | /tmp/rt-mailgate --queue syshelp
> --action correspond --url https://rt.example.net --debug
> /tmp/rt-mailgate: temp file is '/tmp/mmF2JFMLdU'
> /tmp/rt-mailgate: connecting to
> https://rt.example.net/REST/1.0/NoAuth/mail-gateway
> okTicket: 604325Queue: SysHelpOwner: NobodyStatus: newSubject: Requestor:
>
>
>
> --
> Asif Iqbal
> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?
>
>
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales [at] bestpractical
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



--
Best regards, Ruslan.
_______________________________________________
List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


vadud3 at gmail

Apr 30, 2009, 2:25 PM

Post #2 of 3 (1029 views)
Permalink
Re: [rt-users] rt-mailgate is failing [In reply to]

On Thu, Apr 30, 2009 at 5:06 PM, Ruslan Zakirov <ruslan.zakirov [at] gmail>wrote:

> 3.8's mailgate dowsn't allow you to create a ticket with a requestor.
>


Currently my mailserver talks to RT to create the ticket. So RT does not
have to
listen to SMTP. Makes it that much secure.

So my mail server qmail receives the message and send it over to RT like
this

(iqbala)@qmail:~$ cat
~alias/.qmail-syshelp

|822field x-spam-status | egrep -iw yes >/dev/null && exit 100 || exit
0
|822field from | egrep -i "MAILER-DAEMON|POSTMASTER|ABUSE" >/dev/null &&
exit 100 || exit 0
|822field to | egrep -i "MAILER-DAEMON|POSTMASTER|ABUSE" >/dev/null && exit
100 || exit 0
|822field cc | egrep -i "MAILER-DAEMON|POSTMASTER|ABUSE" >/dev/null && exit
100 || exit 0
|822field return-path | egrep -i "MAILER-DAEMON|POSTMASTER|ABUSE" >/dev/null
&& exit 100 || exit 0
|/opt/rt3/bin/rt-mailgate --queue syshelp --action correspond --url
https://rt.example.net 2>/dev/null || exit
111


How would I go by sending the tickets to the new RT 3.8.2 ?




>
> On Fri, May 1, 2009 at 1:01 AM, Asif Iqbal <vadud3 [at] gmail> wrote:
> > The upgraded RT 3.8.2 is failing with rt-mailgate. The original
> installation
> > works just fine. What am I missing?
> >
> > (iqbala)@qmail:~$ echo this is a test | /tmp/rt-mailgate --queue syshelp
> > --action correspond --url https://192.168.0.174 --debug
> > /tmp/rt-mailgate: temp file is '/tmp/mmF2JFMLdU'
> > /tmp/rt-mailgate: connecting to
> > https://192.168.0.174/REST/1.0/NoAuth/mail-gateway
> > not ok - Could not load a valid user
> >
> > (iqbala)@qmail:~$ echo this is a test | /tmp/rt-mailgate --queue syshelp
> > --action correspond --url https://rt.example.net --debug
> > /tmp/rt-mailgate: temp file is '/tmp/mmF2JFMLdU'
> > /tmp/rt-mailgate: connecting to
> > https://rt.example.net/REST/1.0/NoAuth/mail-gateway
> > okTicket: 604325Queue: SysHelpOwner: NobodyStatus: newSubject: Requestor:
> >
> >
> >
> > --
> > Asif Iqbal
> > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> >
> >
> >
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Community help: http://wiki.bestpractical.com
> > Commercial support: sales [at] bestpractical
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com
> >
>
>
>
> --
> Best regards, Ruslan.
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


vadud3 at gmail

May 1, 2009, 6:43 AM

Post #3 of 3 (1036 views)
Permalink
Re: [rt-users] rt-mailgate is failing [In reply to]

On Thu, Apr 30, 2009 at 5:06 PM, Ruslan Zakirov <ruslan.zakirov [at] gmail>wrote:

> 3.8's mailgate dowsn't allow you to create a ticket with a requestor.


It is working when it receives a real email. Thanks for your help


>
>
> On Fri, May 1, 2009 at 1:01 AM, Asif Iqbal <vadud3 [at] gmail> wrote:
> > The upgraded RT 3.8.2 is failing with rt-mailgate. The original
> installation
> > works just fine. What am I missing?
> >
> > (iqbala)@qmail:~$ echo this is a test | /tmp/rt-mailgate --queue syshelp
> > --action correspond --url https://192.168.0.174 --debug
> > /tmp/rt-mailgate: temp file is '/tmp/mmF2JFMLdU'
> > /tmp/rt-mailgate: connecting to
> > https://192.168.0.174/REST/1.0/NoAuth/mail-gateway
> > not ok - Could not load a valid user
> >
> > (iqbala)@qmail:~$ echo this is a test | /tmp/rt-mailgate --queue syshelp
> > --action correspond --url https://rt.example.net --debug
> > /tmp/rt-mailgate: temp file is '/tmp/mmF2JFMLdU'
> > /tmp/rt-mailgate: connecting to
> > https://rt.example.net/REST/1.0/NoAuth/mail-gateway
> > okTicket: 604325Queue: SysHelpOwner: NobodyStatus: newSubject: Requestor:
> >
> >
> >
> > --
> > Asif Iqbal
> > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> >
> >
> >
> > _______________________________________________
> > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> >
> > Community help: http://wiki.bestpractical.com
> > Commercial support: sales [at] bestpractical
> >
> >
> > Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> > Buy a copy at http://rtbook.bestpractical.com
> >
>
>
>
> --
> Best regards, Ruslan.
>



--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.