Rt-mailgate and e-mail header

My mail admin wants to rewrite ‘From’, ‘Return-Path:’ and 'Sender:'
e-mail header fields to domain address form eg. rt@my.domain

So he asked me to modify /opt/rt2/etc/config.pm:

$SendmailArguments=’-oi -f rt@my.domain’

This works perfectly for WebRT: