# Postfix SMTP Generic Maps
# This file controls the return path (envelope sender) for outbound SMTP emails
# Only applies to emails being relayed through external SMTP (SES in our case)
# 
# Format: original_sender rewritten_sender
#
# For mailing list emails, we want bounces to go to our bounce processing address
# This is critical for email-based bounce handling to work properly

# Rewrite envelope sender for all mailing list addresses to bounce address
# When emails are forwarded through mailing lists via SES, bounces come back to us
community@lists.sasalliance.org          bounces@lists.sasalliance.org
board@lists.sasalliance.org              bounces@lists.sasalliance.org  
members@lists.sasalliance.org            bounces@lists.sasalliance.org
announcements@lists.sasalliance.org      bounces@lists.sasalliance.org

# Generic pattern - any @lists.sasalliance.org sender gets rewritten to bounce address
# This catches any new lists automatically
@lists.sasalliance.org                   bounces@lists.sasalliance.org

# Also rewrite any envelope sender that's sending through our system
# This ensures ALL outgoing mail via SES has our bounce address as return path
@sasalliance.org                         bounces@lists.sasalliance.org