filtermail: add echo to passthrough_recipients by default

This commit is contained in:
missytake
2025-04-11 18:55:12 +02:00
parent b4af6df55c
commit fe38fcbeba

View File

@@ -262,6 +262,7 @@ class OutgoingBeforeQueueHandler:
return
passthrough_recipients = self.config.passthrough_recipients
passthrough_recipients.append("echo@" + self.config.mail_domain)
for recipient in envelope.rcpt_tos:
if recipient_matches_passthrough(recipient, passthrough_recipients):