[rt-users] Problem with RT-Extension-CommandByMail

Ruslan Zakirov ruslan.zakirov at gmail.com
Sun Sep 3 20:14:45 EDT 2006


On 9/4/06, Charlie Garrison <garrison at zeta.org.au> wrote:
> Good morning,
>
> On 3/9/06 at 6:57 PM -0400, Michael G Schwern <schwern at bestpractical.com> wrote:
>
> >> This is the point where one usually runs the tests.  They might point
> >> out something which has gone wrong with CommandByMail and your system.
> >
> >Jesse informs me that its non-trivial to run the CommandByMail tests.
> >They require a running, installed RT instance.  Additionally the tests
> >are "destructive" in that they actively add tickets and send mail via
> >your installed RT instance.  So don't run them against a production
> >instance.
>
> Yep, I found that out the hard way. I was running tests but quickly got tired of
> deleting all the 'test' tickets. The tests were failing, but still creating
> tickets.
>
> Is there something I can do to get more logging detail? Then maybe I can get
> some clues as to where the problem might be.
First of all, in the repository we have version 0.05 which is newer
than on the CPAN. You can check out from the SVN or wait for new
release.

To debug you can use next command: `rt-mailgate --url 'http://...'
--queue general --action 'correspond' --debug`. As input type
something like:
From: address at example.com
Subject: test

test

hit ctrl+d at the end.

Also there is problem with default value of the --action argument in
3.6.0 and may be 3.6.1, try to add "--action correspond" to all your
mail aliases. I fixed it in the RT repository, but don't remember if
it was included into 3.6.1 or not.

>
> Thanks,
> Charlie
>
> --
>    Charlie Garrison  <garrison at zeta.org.au>
>    PO Box 141, Windsor, NSW 2756, Australia
> _______________________________________________
> 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.



More information about the rt-users mailing list