[rt-users] rt-mailgate couldn't find the queue when run by sendmail
Alex
dwfm at rtimage.com
Wed Apr 7 19:12:44 EDT 2004
>
>
>No idea, then. Enable some debugging logs in your RT config
>and see if that sheds any light?
>
You mean, like in RT_SiteConfig.pm:
Set($LogToFile , 'debug')
? The logging works, but nothing gets logged in this case.
>Incidentally, your test:
>
> [root at corona root]#* sudo -u mail cat /tmp/testopen1 |
> /opt/rt3/bin/rt-mailgate --debug --queue General --action correspond
> --url http://localhost***
>
>isn't doing quite what you think it is (I think) -- the "cat" is
>running as user "mail", but rt-mailgate is running as root. That
>_shouldn't_ be related to the problem you're seeing, however....
>
Thanks for the tip. Will that do?
# sudo -u mail /opt/rt3/bin/rt-mailgate --debug --queue General
--action correspond --url http://localhost/ < /tmp/testopen1
Connecting to http://localhost//REST/1.0/NoAuth/mail-gateway at
/opt/rt3/bin/rt-mailgate line 444, <> chunk 1.
ok
Ticket: 24
Queue: General
Owner: Nobody
In the meantime I am trying to see if I can get going using fetchmail.
Phil Homewood wrote:
>[Please don't copy me on replies. I do read the list...]
>
>Alex wrote:
>
>
>> rt-general: "|/opt/rt3/bin/rt-mailgate --queue General --action
>> correspond --url http://localhost/"
>>
>> rt-general-internal: "|/opt/rt3/bin/rt-mailgate --queue General
>> --action comment --url http://localhost/"
>>
>>
>
>
>
>>>>1. RT couldn't find the queue: General
>>>>2. No permission to create tickets in the queue ''.
>>>>
>>>>
>
>No idea, then. Enable some debugging logs in your RT config
>and see if that sheds any light?
>
>Incidentally, your test:
>
> [root at corona root]#* sudo -u mail cat /tmp/testopen1 |
> /opt/rt3/bin/rt-mailgate --debug --queue General --action correspond
> --url http://localhost***
>
>isn't doing quite what you think it is (I think) -- the "cat" is
>running as user "mail", but rt-mailgate is running as root. That
>_shouldn't_ be related to the problem you're seeing, however....
>
>(and what's with all the asterisks?)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20040407/d734a5a4/attachment.htm>
More information about the rt-users
mailing list