Univention Bugzilla – Attachment 11282 Details for
Bug 57512
Self-service emails rejected by Gmail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
self-service patch (5.0-9)
changes.patch (text/plain), 1.61 KB, created by
Christian Castens
on 2025-02-07 08:13:28 CET
(
hide
)
Description:
self-service patch (5.0-9)
Filename:
MIME Type:
Creator:
Christian Castens
Created:
2025-02-07 08:13:28 CET
Size:
1.61 KB
patch
obsolete
>diff --git a/management/univention-self-service/debian/changelog b/management/univention-self-service/debian/changelog >index 3781363fa2..ff258f30cb 100644 >--- a/management/univention-self-service/debian/changelog >+++ b/management/univention-self-service/debian/changelog >@@ -1,3 +1,9 @@ >+univention-self-service (5.0.11-3) unstable; urgency=medium >+ >+ * Bug #57512: add Message-ID to emails sent by the Self Service >+ >+ -- Christian Castens <castens@univention.de> Mon, 03 Feb 2025 14:22:38 +0200 >+ > univention-self-service (5.0.11-2) unstable; urgency=medium > > [ Arvid ] >diff --git a/management/univention-self-service/umc/python/passwordreset/sending/send_email.py b/management/univention-self-service/umc/python/passwordreset/sending/send_email.py >index 5f1579c8f7..fa1f3d6218 100644 >--- a/management/univention-self-service/umc/python/passwordreset/sending/send_email.py >+++ b/management/univention-self-service/umc/python/passwordreset/sending/send_email.py >@@ -52,7 +52,7 @@ import email.charset > import os.path > import smtplib > from email.mime.nonmultipart import MIMENonMultipart >-from email.utils import formatdate >+from email.utils import formatdate, make_msgid > > from six.moves.urllib_parse import quote > >@@ -126,6 +126,7 @@ class SendEmail(UniventionSelfServiceTokenEmitter): > msg["Date"] = formatdate(localtime=True) > msg["From"] = self.ucr.get("umc/self-service/passwordreset/email/sender_address", f"Password Reset Service <noreply@{fqdn}>") > msg["To"] = self.data["address"] >+ msg["Message-ID"] = make_msgid() > msg.set_payload(txt, charset=cs) > > smtp = smtplib.SMTP(self.server)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57512
: 11282