<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 18, 2011, at 10:11 PM, Darren Nickerson wrote:</div><blockquote type="cite"><div><font class="Apple-style-span" color="#000000"><br></font><br>[root@rt postfix]# /opt/rt4/bin/rt-mailgate --queue sales --action comment --url <a href="http://rt4.ifax.com/">http://rt4.ifax.com/</a> --debug<br>test<br>.<br>/opt/rt4/bin/rt-mailgate: temp file is '/tmp/D8IMPShIFr/6difOpAIKD'<br>/opt/rt4/bin/rt-mailgate: connecting to <a href="http://rt4.ifax.com//REST/1.0/NoAuth/mail-gateway">http://rt4.ifax.com//REST/1.0/NoAuth/mail-gateway</a><br>An Error Occurred<br>=================<br><br>302 Found<br><br>/opt/rt4/bin/rt-mailgate: undefined server error</div></blockquote><br></div><div><br></div>Changing the invocation to:<div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>/opt/rt4/bin/rt-mailgate --queue sales --action comment --url <a href="http://rt4.ifax.com">http://rt4.ifax.com</a></div><br></div><div>(ie: removing the trailing slash) fixes this problem. Presumably I could have handled that in the apache config as well.</div><div><br></div><div>Looking good!</div><div><br></div><div>-d</div><div><br></div></body></html>