What is PostSRSd and how does SRS work?
mainPostSRSd is a Sender Rewriting Scheme (SRS) daemon for Postfix. SRS is used to forward emails from domains that use SPF (Sender Policy Framework) without being rejected by the recipient's MTA.
When you forward an email from alice@example.com, your server might not have permission to send on behalf of example.com. PostSRSd circumvents this by rewriting the envelope sender to a temporary address on a domain you control, such as SRS0=xxxx=yy=example.com=alice@yourdomain.org (forward SRS).
xxxx: A cryptographic signature to prevent abuse.yy: A timestamp to ensure the address expires.
If a bounce occurs, PostSRSd can perform 'reverse SRS' to extract the original sender and relay the notification correctly.