Revert "Check for PGP/Inline inside of S/MIME mails"
authorAndre Heinecke <aheinecke@intevation.de>
Thu, 30 Aug 2018 12:41:16 +0000 (14:41 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Thu, 30 Aug 2018 12:41:16 +0000 (14:41 +0200)
This reverts commit 1656e01d2eb19c8349dcab9d9b7e25fb85b9c854.

src/mapihelp.cpp

index da7675e..562a903 100644 (file)
@@ -1243,24 +1243,6 @@ change_message_class_ipm_note_smime_multipartsigned (LPMESSAGE message)
               xfree (attach_mime);
             }
         }
-      else
-        {
-          /* This is enterprise level gateway encryption stuff.
-
-             E.g. we can have awesome other tools that send pgp
-             inline and a gateway that signs everything with S/MIME.
-
-             So let's look at the body to figure out if we are
-             PGP. */
-          newvalue = get_msgcls_from_pgp_lines (message);
-
-          if (newvalue)
-            {
-              log_debug ("%s:%s:   PGP Inline detected in S/MIME message. "
-                         "Type is now '%s'",
-                         SRCNAME, __func__, newvalue);
-            }
-        }
       xfree (proto);
       xfree (ct);
     }