mirror of
https://github.com/chatmail/relay.git
synced 2026-05-19 12:28:06 +00:00
filtermail: add echo to passthrough_recipients by default
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user