<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body><div style="font-family: 'Goldman Sans', 'Gill Sans', sans-serif;"><div class="markdown" style="white-space: normal;">
<p dir="auto" style="margin: 1.12em 0;">Hi,</p>
<p dir="auto" style="margin: 1.12em 0;">Our IT admins added those pesky warnings to all emails incoming from outside the companies.</p>
<p dir="auto" style="margin: 1.12em 0;">The HTML injected looks like</p>
<pre class="highlighted" style="margin-left: 15px; margin-right: 15px; padding: 5px; border: thin solid gray; overflow-x: auto; max-width: 90vw; background-color: #F7F7F7; color: black;"><code style="padding: 0 0.25em; background-color: #F7F7F7;"><<span style="color: #007700">span</span> <span style="color: #0000CC">style</span><span style="color: #333333">=</span><span style="background-color: #fff0f0">3D"color:#0075CF"</span>>
External Warning: This email is from
… - if this email address is unfamiliar, do not click links and
do report via the Report Suspicious button in Outlook.
</<span style="color: #007700">span</span>>
</code></pre>
<p dir="auto" style="margin: 1.12em 0;">It thought of getting rid of this through CSS, by adding</p>
<pre style="margin-left: 15px; margin-right: 15px; padding: 5px; border: thin solid gray; overflow-x: auto; max-width: 90vw; background-color: #F7F7F7;"><code style="padding: 0 0.25em; background-color: #F7F7F7;">span[style*="0075CF"] { visibility: hidden}
</code></pre>
<p dir="auto" style="margin: 1.12em 0;">Updating the MmDefaultCSS variable in <code style="padding: 0 0.25em; background-color: #F7F7F7;">com.freron.Mailmate</code> or putting that same line in <code style="padding: 0 0.25em; background-color: #F7F7F7;">~/Library/Application Support/MailMate/Resources/css/stylesheet.css</code> didn’t produce the required effect so I'm a bit puzzled.</p>
<p dir="auto" style="margin: 1.12em 0;">What could I try next?</p>
<p dir="auto" style="margin: 1.12em 0;">Giovanni</p>
</div>
</div>
</body>
</html>