Manual:$wgUserEmailUseReplyTo

Details
Some mailers (eg sSMTP) set the SMTP envelope sender to the From value, which can cause problems with SPF validation and leak recipient addressses when bounces are sent to the sender.