]> git.ipfire.org Git - ipfire.org.git/commitdiff
messages: No longer set the Errors-To header
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Jan 2026 17:26:30 +0000 (17:26 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Jan 2026 17:26:30 +0000 (17:26 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/backend/messages.py

index 2bfe857a23e712712294e98387adb4d87af642f5..fd3ec382408bd16f8b20c651b68c03d02b394743 100644 (file)
@@ -61,10 +61,6 @@ class Messages(misc.Object):
        def make_msgid(self):
                return email.utils.make_msgid("ipfire", domain="ipfire.org")
 
-       @property
-       def bounce_email_address(self):
-               return self.settings.get("bounce_email_address")
-
        def send(self, message, priority=0, headers={}, after=None):
                # Convert message from string
                if not isinstance(message, email.message.Message):
@@ -89,10 +85,6 @@ class Messages(misc.Object):
                        except KeyError:
                                message.add_header(k, v)
 
-               # Send any errors to the bounce address
-               if self.bounce_email_address:
-                       message.add_header("Errors-To", "<%s>" % self.bounce_email_address)
-
                # Add the message to the queue
                res = self.db.get("""
                        INSERT INTO