Forwarded emails are restamped using PostSRSd. This feature is dependent upon mail_enabled set to true, which can be toggled with cpcmd scope:set mail.enabled true
.
The Return-Path is rewritten to the server hostname, which passes SPF/DKIM alignment checks. Related to your other post, SPF domain alignment mismatch - #9 by AptHeart.