diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index 3165c36..316c1e8 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -474,6 +474,8 @@ def forward_to_zephyr(message): recipients = [recipient] else: zwrite_args.extend(["-C"]) + # We drop the @ATHENA.MIT.EDU here because otherwise the + # "CC: user1 user2 ..." output will be unnecessarily verbose. recipients = [to_zephyr_username(user["email"]).replace("@ATHENA.MIT.EDU", "") for user in message["display_recipient"]] logger.info("Forwarding message to %s" % (recipients,))