<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Spam Filter ISP Forums : attachment filename</title>
  <link>https://www.logsat.com/spamfilter/forums/</link>
  <description><![CDATA[This is an XML content feed of; Spam Filter ISP Forums : Spam Filter ISP Support : attachment filename]]></description>
  <pubDate>Sat, 14 Mar 2026 15:24:25 +0000</pubDate>
  <lastBuildDate>Tue, 07 Jun 2016 12:06:57 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.logsat.com/spamfilter/forums/RSS_post_feed.asp?TID=7135</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Spam Filter ISP Forums]]></title>
   <url>https://www.logsat.com/spamfilter/forums/forum_images/web_wiz_forums.png</url>
   <link>https://www.logsat.com/spamfilter/forums/</link>
  </image>
  <item>
   <title><![CDATA[attachment filename : Oh OK, that explains why I have...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7135&amp;PID=14825&amp;title=attachment-filename#14825</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=104">yapadu</a><br /><strong>Subject:</strong> 7135<br /><strong>Posted:</strong> 07 June 2016 at 12:06pm<br /><br />Oh OK, that explains why I have never had much luck filtering on filenames/attachments in the past.<br><br>Using this new information I looked up&nbsp; what type of attachments gmail does not allow and built a rule that stops any mail from gmail.com that contains one of their restricted attachment types.<br><br>So far it has stopped 1 message, so looks like it is at least working.<br><br>]]>
   </description>
   <pubDate>Tue, 07 Jun 2016 12:06:57 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7135&amp;PID=14825&amp;title=attachment-filename#14825</guid>
  </item> 
  <item>
   <title><![CDATA[attachment filename : In the past, if an email had this...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7135&amp;PID=14824&amp;title=attachment-filename#14824</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=8">LogSat</a><br /><strong>Subject:</strong> 7135<br /><strong>Posted:</strong> 07 June 2016 at 9:02am<br /><br />In the past, if an email had this content:<div><br></div><div><br></div><div><div><font size="1" color="#666666">------=_NextPart_000_0023_01C7D2C3.DADB76A0</font></div><div><font size="1" color="#666666">Content-Type: text/plain;</font></div><div><font size="1" color="#666666"><span ="apple-tab-span"="" style="white-space:pre">	</span>charset="iso-8859-1"</font></div><div><font size="1" color="#666666">Content-Transfer-Encoding: 7bit</font></div><div><font size="1" color="#666666"><br></font></div><div><font size="1" color="#666666">this is a test for a pdf</font></div><div><font size="1" color="#666666"><br></font></div><div><font size="1" color="#666666">------=_NextPart_000_0023_01C7D2C3.DADB76A0</font></div><div><font size="1" color="#666666">Content-Type: application/pdf;</font></div><div><font size="1" color="#666666"><span ="apple-tab-span"="" style="white-space:pre">	</span><b>name="SCADAWhitepaperfinal1.pdf"</b></font></div><div><font size="1" color="#666666">Content-Transfer-Encoding: base64</font></div><div><font size="1" color="#666666">Content-Disposition: attachment;</font></div><div><font size="1" color="#666666"><span ="apple-tab-span"="" style="white-space:pre">	</span><b>filename="Whitepaperfinal1.pdf"</b></font></div><div><font size="1" color="#666666"><br></font></div><div><font size="1" color="#666666">JVBERi0xLjINJeLjz9MNCjMxIDAgb2JqDTw8IA0vTGluZWFyaXplZCAxIA0vTyAzMyANL0ggWyAx</font></div></div><div><br></div><div>SpamFilter would normalize the content and search for keywords in this new text:</div><div><br></div><div><div><font color="#0000ff">content-type: text/plain</font></div><div><font color="#0000ff">content-transfer-encoding: 7bit</font></div><div><font color="#0000ff">content-type: application/pdf</font></div><div><font color="#0000ff">content-transfer-encoding: base64</font></div><div><font color="#0000ff">content-disposition: attachment</font></div><div><span style="color: rgb0, 0, 255;"><font color="#0000ff">this is a test for a pdf</font></span></div></div><div><br></div><div>Prior to this version, there was a bug in SpamFilter where the name and filename portions of the Content-Type and Content-Disposition would not be included in the normalized text if they appeared (as is in most cases) in a separate indented line.</div><div><br></div><div>From this version on, we're specifically adding the filename and name in the normalized text:</div><div><br></div><div><div><font color="#0000ff">content-type: text/plain</font></div><div><font color="#0000ff">content-transfer-encoding: 7bit</font></div><div><font color="#0000ff">content-type: application/pdf</font></div><div><font color="#0000ff">content-transfer-encoding: base64</font></div><div><font color="#0000ff">content-disposition: attachment</font></div><div><font color="#0000ff"><b>filename="scadawhitepaperfinal1.pdf"</b></font></div><div><font color="#0000ff"><b>name="scadawhitepaperfinal1.pdf"</b></font></div><div><font color="#0000ff">this is a test for a pdf</font></div></div><div><font color="#0000ff"><br></font></div><div>so they can be searched along with other keywords.</div><span style="font-size:10px"><br /><br />Edited by LogSat - 07 June 2016 at 9:03am</span>]]>
   </description>
   <pubDate>Tue, 07 Jun 2016 09:02:28 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7135&amp;PID=14824&amp;title=attachment-filename#14824</guid>
  </item> 
  <item>
   <title><![CDATA[attachment filename : I noticed this in the release...]]></title>
   <link>https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7135&amp;PID=14823&amp;title=attachment-filename#14823</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.logsat.com/spamfilter/forums/member_profile.asp?PF=104">yapadu</a><br /><strong>Subject:</strong> 7135<br /><strong>Posted:</strong> 06 June 2016 at 10:20pm<br /><br /><p>I noticed this in the release notes.<br></p><p><i>// New to VersionNumber = '4.7.2.196';</i></p><p><i><span style=": transparent;">{TODO -cNew : Added the attachment filename to the message parts that SpamFilter scans for keywords, allowing the blacklisting/whitelisting of attachment filenames using keywords as well}</span></i></p><p><br><i><span style=": transparent;"></span></i></p><p><span style=": transparent;">This means we can do something like this in the keyword rules:</span></p><p><span style=": transparent;">attachment:*.exe</span></p><p><br><span style=": transparent;"></span>Something like that?&nbsp; Is there any example or documentation on how to use this new feature?&nbsp; I would be interested in using it.</p>]]>
   </description>
   <pubDate>Mon, 06 Jun 2016 22:20:42 +0000</pubDate>
   <guid isPermaLink="true">https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=7135&amp;PID=14823&amp;title=attachment-filename#14823</guid>
  </item> 
 </channel>
</rss>