From efc2295b8d19144315374a0ff231bb3ddafab80c Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 3 Mar 2026 20:09:38 +0100 Subject: [PATCH] Update notification service --- AppImage/scripts/notification_channels.py | 3 +++ AppImage/scripts/notification_events.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/AppImage/scripts/notification_channels.py b/AppImage/scripts/notification_channels.py index b2906d7e..b2ecadde 100644 --- a/AppImage/scripts/notification_channels.py +++ b/AppImage/scripts/notification_channels.py @@ -433,10 +433,13 @@ class EmailChannel(NotificationChannel): try: if self.tls_mode == 'ssl': server = smtplib.SMTP_SSL(self.host, self.port, timeout=self.timeout) + server.ehlo() else: server = smtplib.SMTP(self.host, self.port, timeout=self.timeout) + server.ehlo() if self.tls_mode == 'starttls': server.starttls() + server.ehlo() # Re-identify after TLS upgrade if self.username and self.password: server.login(self.username, self.password) diff --git a/AppImage/scripts/notification_events.py b/AppImage/scripts/notification_events.py index c4455cd4..5849600c 100644 --- a/AppImage/scripts/notification_events.py +++ b/AppImage/scripts/notification_events.py @@ -1780,7 +1780,7 @@ class PollingCollector: 'security_count': str(len(security_pkgs)), 'pve_count': str(len(pve_pkgs)), 'kernel_count': str(len(kernel_pkgs)), - 'important_list': '\n'.join(important_lines) if important_lines else 'none', + 'important_list': '\n'.join(f' {l}' for l in important_lines) if important_lines else 'none', 'package_list': ', '.join(important_lines[:6]) if important_lines else '', }