[rt-users] rt-mailgate is failing

Asif Iqbal vadud3 at gmail.com
Thu Apr 30 17:25:28 EDT 2009


On Thu, Apr 30, 2009 at 5:06 PM, Ruslan Zakirov <ruslan.zakirov at gmail.com>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.com> 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.com
> >
> >
> > 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090430/3f28a234/attachment.htm>


More information about the rt-users mailing list