Hmm. You seem to have SetOutgoingMailFrom defined twice there.
Manual says that this is to set the envelope (e.g. mail from <>) address rather than the From: header, which seems to come from either the queue configuration or another hash ref called OverrideOutgoingMailFrom. I can’t see why you would need to set that, ordinarily though. It should take the From: header from the queue configuration.
This pipes the input into RT from exim (in our case).
Then in each queue config in RT (under Admin → Queues) the Reply Address and Comment address are set the same, but underneath each one is a note that what it would be set to by default, which is picked up from the config. A few of our queues have a different address.
Some MTAs by default do not allow unprivileged users to use the "-f" option to override the envelope from address. Check what the default “sendmail” does on your system.
For exim for example, you might need to set
# allow untrusted users to set an envelope sender
untrusted_set_sender = *
(or just the user that RT is running from, maybe www-user. This seems to be the default though in, say, the debian/ubuntu exim conf scheme.)
You’ll have to look at the various logs for RT and your MTA to determine what’s going on.