filtermail: add echo to passthrough_recipients by default

This commit is contained in:
missytake
2025-05-24 08:47:49 +02:00
parent b4af6df55c
commit fe38fcbeba
+1
View File
@@ -262,6 +262,7 @@ class OutgoingBeforeQueueHandler:
return return
passthrough_recipients = self.config.passthrough_recipients passthrough_recipients = self.config.passthrough_recipients
passthrough_recipients.append("echo@" + self.config.mail_domain)
for recipient in envelope.rcpt_tos: for recipient in envelope.rcpt_tos:
if recipient_matches_passthrough(recipient, passthrough_recipients): if recipient_matches_passthrough(recipient, passthrough_recipients):