How to log extension header in postfix log?

You can use a header check with the WARN target, this will log your header.

## main.cf
header_checks = regexp:/etc/postfix/header_checks

## header_checks
/^ X-Mms-Originator-System: / WARN 

should work