$headers['X-Sender'] = $from; is actually hardcoded in /usr/share/roundcubemail/program/steps/mail/sendmail.inc