[rt-users] rt-mailgate needs http for comment
Joseph D. Wagner
joe at josephdwagner.info
Sun Sep 6 03:31:28 EDT 2015
Here it is. I left everything intact except the url.
prc: "|/usr/bin/rt-mailgate --queue 'Performance Review'
--action correspond --url https://xxxx.xxxx/rt"
prc-staff: "|/usr/bin/rt-mailgate --queue 'Performance Review'
--action comment --url https://xxxx.xxxx/rt"
Joe
On 09/05/2015 11:32 PM, Alex Vandiver wrote:
> On Sat, Sep 05, 2015 at 11:22:48PM -0700, Joseph D. Wagner wrote:
>> I had apache set to allow rt over https only. Trying over http would fail.
>>
>> rt-mailgate was working perfectly fine over https when using
>> "--action correspond". However, when using "--action comment", it
>> fails saying it is unable to connect.
>>
>> When I changed my apache configuration to allow http on local
>> connections, it started working.
>>
>> I suspect there is some code in the comment path of rt-mailgate that
>> is forcing it over the http connection, rather than properly
>> deriving the connection from the url parameter.
>>
>> Being new to rt, I am open to the possibility I misconfigured
>> something. Is anyone else able to reproduce this?
> I strongly suspect misconfiguration in your /etc/aliases. The only
> difference between correspond and comment paths is the value of a
> query parameter that they POST:
>
> https://github.com/bestpractical/rt/blob/stable/bin/rt-mailgate.in#L168-L170
>
> Check to make sure that you have https:// on all of your aliases, and
> that you've run newaliases (or equivalent) after updating them.
> - Alex
More information about the rt-users
mailing list