Update mail utils folder name assumptions from Objekte to Elemente
authorPlamen Dimitrov <plamen.dimitrov@intra2net.com>
Tue, 12 Apr 2022 07:32:43 +0000 (10:32 +0300)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Wed, 27 Apr 2022 07:21:00 +0000 (09:21 +0200)
"Gesendete Objekte" was the old name from Outlook 2003-2007 and was
changed to "Gesendete Elemente" in Outlook 2010 onwards. We aligned
ourselves with Outlook since it's the most used email client with
the IBS.

src/mail_validator.py

index 7888665..19ce7dd 100644 (file)
@@ -523,7 +523,7 @@ class MailValidator:
         for expected_email in emails:
             # TODO: this can be improved by matching the emails themselves
             if expected_email in ["cyrus.cache", "cyrus.header", "cyrus.index",
-                                  "Entw&APw-rfe", "Gesendete Objekte",
+                                  "Entw&APw-rfe", "Gesendete Elemente",
                                   "Gel&APY-schte Elemente", "mailboxes.dump",
                                   "tmp"]:
                 continue