Przeglądaj źródła

update "reply must from mailbox" email wording

Son NK 4 lat temu
rodzic
commit
e4271f725c

+ 1 - 1
email_handler.py

@@ -919,7 +919,7 @@ def handle_unknown_mailbox(envelope, msg, reply_email: str, user: User, alias: A
         user,
         user,
         ALERT_REVERSE_ALIAS_UNKNOWN_MAILBOX,
         ALERT_REVERSE_ALIAS_UNKNOWN_MAILBOX,
         user.email,
         user.email,
-        f"Reply from your alias {alias.email} only works from your mailbox",
+        f"Attempt to use your alias {alias.email} from {envelope.mail_from}",
         render(
         render(
             "transactional/reply-must-use-personal-email.txt",
             "transactional/reply-must-use-personal-email.txt",
             name=user.name,
             name=user.name,

+ 3 - 1
templates/emails/transactional/reply-must-use-personal-email.html

@@ -15,7 +15,9 @@
   {% endcall %}
   {% endcall %}
 
 
   {% call text() %}
   {% call text() %}
-    Indeed only you can send emails on behalf of your alias.
+    This is to protect against "email spoofing", i.e. someone else sending emails from your mailbox. <br>
+    Indeed only you can send emails on behalf of your alias. <br>
+    If you think this is a wrong alert, please let us know by replying to this email.
   {% endcall %}
   {% endcall %}
 
 
   {% call text() %}
   {% call text() %}

+ 3 - 1
templates/emails/transactional/reply-must-use-personal-email.txt

@@ -8,8 +8,10 @@ Please note that sending from this alias only works from one of these mailboxes:
 - {{mailbox.email}}
 - {{mailbox.email}}
 {% endfor %}
 {% endfor %}
 
 
-
+This is to protect against "email spoofing", i.e. someone else sending emails from your mailbox.
 Indeed only you can send emails on behalf of your alias.
 Indeed only you can send emails on behalf of your alias.
+If you think this is a wrong alert, please let us know by replying to this email.
+
 
 
 Best,
 Best,
 SimpleLogin team.
 SimpleLogin team.