Our mailserver is a RHEL5 machine with the stock sendmail install. The stock install uses smrsh, theexamples for rt-mailgate will not work with smrsh because smrsh strips quotes ('). The fix is to use double quotes (")
rt: '|rt-mailgate --queue default action correspond --url https://rt.example.com'
becomes:
rt: "|rt-mailgate --queue default action correspond --url https://rt.example.com"