well the SA is out of date, so update that and make sure it&#39;s using network tests.<br clear="all">-- <br>Martin Hepworth<br>Oxford, UK<br>
<br><br><div class="gmail_quote">On 6 December 2010 16:04, Peter Ong <span dir="ltr">&lt;<a href="mailto:peter.ong@hypermediasystems.com">peter.ong@hypermediasystems.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
To further test, here&#39;s what I did.<br>
<br>
I created an empty text file. Pasted only the shortened urls in them. Then, I ran spamassassin on them:<br>
<br>
I ran:<br>
spamassassin -t &lt; spam3.txt<br>
spam3.txt is the text file I created with only the shortened urls inside.<br>
<br>
------------=_4CFD0930.09ACA586<br>
Content-Type: message/rfc822; x-spam-type=original<br>
Content-Description: original message before SpamAssassin<br>
Content-Disposition: inline<br>
Content-Transfer-Encoding: 8bit<br>
<br>
<a href="https://mail021.dti/zimbra/" target="_blank">https://mail021.dti/zimbra/</a><br>
<a href="http://goo.gl/m4PzL" target="_blank">http://goo.gl/m4PzL</a><br>
<br>
------------=_4CFD0930.09ACA586--<br>
<br>
Spam detection software, running on the system &quot;gateway001.inf&quot;, has<br>
identified this incoming email as possible spam.  The original message<br>
has been attached to this so you can view it (if it isn&#39;t spam) or label<br>
similar future email.  If you have any questions, see<br>
the administrator of that system for details.<br>
<br>
Content preview:  [...]<br>
<br>
Content analysis details:   (9.2 points, 5.0 required)<br>
<br>
 pts rule name              description<br>
---- ---------------------- --------------------------------------------------<br>
 0.0 MISSING_MID            Missing Message-Id: header<br>
 0.0 MISSING_DATE           Missing Date: header<br>
-0.0 NO_RELAYS              Informational: message was not relayed via SMTP<br>
 2.5 MISSING_HB_SEP         Missing blank line between message header and body<br>
 1.3 MISSING_HEADERS        Missing To: header<br>
 2.2 TVD_SPACE_RATIO        BODY: TVD_SPACE_RATIO<br>
 1.8 MISSING_SUBJECT        Missing Subject: header<br>
 1.4 EMPTY_MESSAGE          Message appears to have no textual parts and no<br>
                            Subject: text<br>
-0.0 NO_RECEIVED            Informational: message has no Received headers<br>
 0.0 NO_HEADERS_MESSAGE     Message appears to be missing most RFC-822 headers<br>
<div class="im"><br>
<br>
----- Original Message -----<br>
<br>
&gt; From: &quot;Peter Ong&quot; &lt;<a href="mailto:peter.ong@hypermediasystems.com">peter.ong@hypermediasystems.com</a>&gt;<br>
&gt; To: &quot;MailScanner discussion&quot; &lt;<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a>&gt;<br>
</div><div class="im">&gt; Sent: Monday, December 6, 2010 7:58:26 AM<br>
&gt; Subject: Re: new spam getting through<br>
&gt;<br>
</div><div><div></div><div class="h5">&gt; Hey Mr. Steve, thanks for the plugins. I didn&#39;t thank you earlier.<br>
&gt;<br>
&gt; So here&#39;s how the plugin is faring at my place:<br>
&gt;<br>
&gt; 1. It appears to be working fine:<br>
&gt; [7443] dbg: config: read file<br>
&gt; /etc/mail/spamassassin/DecodeShortURLs.cf<br>
&gt; [7443] dbg: plugin: loading<br>
&gt; Mail::SpamAssassin::Plugin::DecodeShortURLs from<br>
&gt; /etc/mail/spamassassin/DecodeShortURLs.pm<br>
&gt; [7443] dbg: plugin:<br>
&gt; Mail::SpamAssassin::Plugin::DecodeShortURLs=HASH(0xacc6f30) implements<br>
&gt; &#39;parsed_metadata&#39;, priority -1<br>
&gt;<br>
&gt; 2. I still received spam, and it doesn&#39;t appear this was triggered at<br>
&gt; all:<br>
&gt; [root@me]# grep -c SHORT_U mail20101204<br>
&gt; 0<br>
&gt; [root@me]# grep -c SHORT_U mail20101205<br>
&gt; 0<br>
&gt;<br>
&gt; I know those spams came through on these days through this server.<br>
&gt;<br>
&gt; 3. This is the spamassassin I&#39;m running.<br>
&gt; SpamAssassin version 3.2.5<br>
&gt;   running on Perl version 5.8.8<br>
&gt;<br>
&gt; 4. cd /tmp/DecodeShortURLs<br>
&gt; du -hs DecodeShortURLs.txt<br>
&gt; 0       DecodeShortURLs.txt<br>
&gt;<br>
&gt; I don&#39;t know what I&#39;m missing. Can somebody help?<br>
&gt;<br>
&gt; p<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br>