Have postfix 2.10. Nondefault options in main.cf:
smtp_header_checks = pcre:/etc/postfix/smtp_header_checks
relayhost = smtp.company.org
/etc/postfix/smtp_header_checks :
/from:.*/i REPLACE From: somebody@yahoo.co.uk
However, tcpdump shows that the following line sent to the relay:
MAIL FROM:<root@myserver.localdomain>
I'm sending it with local sendmail