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

2009-05-01 Thread Asif Iqbal
On Thu, Apr 30, 2009 at 5:06 PM, Ruslan Zakirov ruslan.zaki...@gmail.comwrote:

 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 vad...@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: sa...@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?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

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

2009-04-30 Thread Ruslan Zakirov
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 vad...@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: sa...@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.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


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

2009-04-30 Thread Asif Iqbal
On Thu, Apr 30, 2009 at 5:06 PM, Ruslan Zakirov ruslan.zaki...@gmail.comwrote:

 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 vad...@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: sa...@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?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com