<br><br><div class="gmail_quote">2009/9/4 Richard Mealing <span dir="ltr">&lt;<a href="mailto:richard@fastnet.co.uk">richard@fastnet.co.uk</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-GB">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a>
[mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a>] <b>On Behalf Of </b>Martin
Hepworth<br>
<b>Sent:</b> 04 September 2009 13:19<div><div></div><div class="h5"><br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: image spam again :)</div></div></span></p>

</div><div><div></div><div class="h5">

<p> </p>

<p style="margin-bottom: 12pt;"> </p>

<div>

<p>2009/9/4 Richard Mealing &lt;<a href="mailto:richard@fastnet.co.uk" target="_blank">richard@fastnet.co.uk</a>&gt;</p>

<div>

<div>

<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a>
[mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a>] <b>On Behalf Of
</b>Martin Hepworth<br>
<b>Sent:</b> 04 September 2009 12:24</span></p>

<div>

<p><span style="font-size: 10pt;" lang="EN-US"><br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: image spam again :)</span></p>

</div>

</div>

<p> </p>

<p style="margin-bottom: 12pt;"> </p>

<div>

<p>2009/9/4 Mog &lt;<a href="mailto:lists@elasticmind.net" target="_blank">lists@elasticmind.net</a>&gt;</p>

<div>

<div>

<div>

<p>Richard Mealing wrote:</p>

<p style="margin-bottom: 12pt;"><br>
Hi Martin,<br>
<br>
Thanks for this, sorry if I’m being stupid, but I’m using freebsd and I’ve
updated my port tree, however I don’t see the latest version in there –<br>
<br>
less distinfo<br>
<br>
MD5 (MailScanner-install-4.60.5-1.tar.gz) = cf1e87131f90ff7f43e1f4c1d787a245<br>
<br>
SHA256 (MailScanner-install-4.60.5-1.tar.gz) =
1ec3fd536e05f5da0b1551cc57664bb4379e049e8243e0ed112e33325c53b994<br>
<br>
SIZE (MailScanner-install-4.60.5-1.tar.gz) = 7704758<br>
<br>
Can this be updated?<br>
<br>
Rich</p>

<p> </p>

</div>

<p>Indeed, the MailScanner port is getting a little out of date again. Yes it
should be periodically updated, but unfortunately the maintainer of the
MailScanner port is AWOL and doesn&#39;t respond to emails, meaning that the
MailScanner port is currently not being maintained.<br>
<br>
Maintaining FreeBSD ports requires a basic working knowledge of the ports
system and the program in question (MailScanner in this case), and of course,
the free time necessary to update and check the port works before submitting a
patch to the committers. Sadly, as of yet, no one with the free time/skills has
volunteered to help with this.<br>
<span style="color: rgb(136, 136, 136);">-- </span></p>

<div>

<div>

<p>MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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! </p>

</div>

</div>

</div>

</div>

</div>

<div>

<div>

<p><br>
Some did do an independant update for the FreeBSD port a while ago (see the
archives of this list). But in the mean-time if you want to keep up-to date and
esp with the beta&#39;s you&#39;ll need to use the generic tar.gz installer instead.<br clear="all">
<br>
-- <br>
Martin Hepworth<br>
Oxford, UK</p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

</div>

</div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Martin,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I did try that but it’s an rpm
and you can’t install that on freebsd. Do you think the mailscanner port (non
beta) will update next time it’s released? </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I did contact the maintainer
and he told me I could do it, but I’m new to all this (I’m still learning) I
don’t think I have the skills to do it.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I can’t wait to add
sanesecurity to my config, it’s just awesome from my testing last week.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Many thanks,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Rich</span></p>

</div>

</div>

<p style="margin-bottom: 12pt;"><br>
<br>
</p>

</div>

<p><br>
Richard<br>
<br>
no the generic unix installer...not he RPM version ;-)<a name="12385160fa317305_stable"></a></p>

<h3>Stable</h3>

<ul type="disc">
 <li><a href="http://www.mailscanner.info/files/4/rpm/MailScanner-4.77.10-1.rpm.tar.gz" target="_blank">Version
     4.77.10-1 for RedHat, CentOS, and Fedora Linux (and other RPM-based Linux
     distributions)</a> <br>
     <a href="http://www.mailscanner.info/files/4/rpm/MailScanner-4.77.10-1.rpm.tar.gz.sig" target="_blank">(PGP
     signature)</a> </li>
 <li><a href="http://www.mailscanner.info/files/4/suse/MailScanner-4.77.10-1.suse.tar.gz" target="_blank">Version
     4.77.10-1 for SuSE</a> <br>
     <a href="http://www.mailscanner.info/files/4/suse/MailScanner-4.77.10-1.suse.tar.gz.sig" target="_blank">(PGP
     signature)</a> </li>
 <li><a href="http://www.mailscanner.info/files/4/tar/MailScanner-install-4.77.10-1.tar.gz" target="_blank">Version
     4.77.10-1 for Solaris / BSD / Other Linux / Other Unix</a>      
     &lt;**********************************************<br>
     <a href="http://www.mailscanner.info/files/4/tar/MailScanner-install-4.77.10-1.tar.gz.sig" target="_blank">(PGP
     signature)</a> </li>
 <li><a href="http://packages.debian.org/etch/mailscanner" target="_blank">Debian Linux package</a>
     and the <a href="http://www.mailscanner.info/files/4/mailscanner.debian.init.d" target="_blank">init.d
     script</a> from it </li>
 <li><a href="http://www.mailscanner.info/FreeBSD.html" target="_blank">Latest
     &quot;port&quot; for FreeBSD</a> – Please <a href="http://www.mailscanner.info/FreeBSD.html" target="_blank">read the instructions</a> </li>
 <li><a href="http://www.opencsw.org/packages/mailscanner" target="_blank">Solaris OpenCSW package</a>
     </li>
 <li><a href="http://www.mailscanner.info/files/4/install-Clam-SA-latest.tar.gz" target="_blank">ClamAV
     0.95.2 and SpamAssassin 3.2.5 easy installation package</a>. </li>
</ul>

<p>Each of the packages above is a compressed tar file.
Download it, unpack it (with &quot;<tt><span style="font-size: 10pt;">tar xzvf <i>&lt;filename&gt;</i>.tar.gz</span></tt>&quot;)
and run the &quot;<tt><span style="font-size: 10pt;">install.sh</span></tt>&quot;
script in it. </p>

<h3>Version 4.75</h3>

<ul type="disc">
 <li><a href="http://www.mailscanner.info/files/4/rpm/MailScanner-4.75.11-1.rpm.tar.gz" target="_blank">Version
     4.75.11-1 for RedHat, CentOS, and Fedora Linux (and other RPM-based Linux
     distributions)</a> </li>
 <li><a href="http://www.mailscanner.info/files/4/suse/MailScanner-4.75.11-1.suse.tar.gz" target="_blank">Version
     4.75.11-1 for SuSE</a> </li>
 <li><a href="http://www.mailscanner.info/files/4/tar/MailScanner-install-4.75.11-1.tar.gz" target="_blank">Version
     4.75.11-1 for Solaris / BSD / Other Linux / Other Unix</a> </li>
</ul>

<h3><a name="12385160fa317305_beta">Beta</a></h3>

<ul type="disc">
 <li><a href="http://www.mailscanner.info/files/4/rpm/MailScanner-4.78.15-1.rpm.tar.gz" target="_blank">Version
     4.78.15-1 for RedHat, CentOS and Fedora Linux (and other RPM-based Linux
     distributions)</a> </li>
 <li><a href="http://www.mailscanner.info/files/4/suse/MailScanner-4.78.15-1.suse.tar.gz" target="_blank">Version
     4.78.15-1 for SuSE Linux</a> </li>
 <li><a href="http://www.mailscanner.info/files/4/tar/MailScanner-install-4.78.15-1.tar.gz" target="_blank">Version
     4.78.15-1 for Solaris / BSD / Other Linux / Other Unix 
     &lt;****************************************************</a> </li>
 <li><a href="http://www.mailscanner.info/FreeBSD.html" target="_blank">Latest
     FreeBSD beta release &quot;port&quot;</a> </li>
</ul>

<p><br>
-- <br>
Martin Hepworth<br>
Oxford, UK</p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

</div></div><p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi Martin – </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I know, that’s what I’ve tried already. </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">[richard@mailfilter9 ~/MailScanner-install-4.78.15]$
/home/richard/MailScanner-install-4.78.15/install.sh</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I am logging everything into &quot;install.log&quot;.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">You appear to be running on a system that does not use the</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">RPM packaging system.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">If you think you can use RPM, then press Ctrl-C right now,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">make sure the &quot;rpm&quot; and &quot;rpmbuild&quot; programs
can be found</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">and run this script again.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I will install MailScanner under /opt, from where you can</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">move it if you want.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I will need to build the tnef program for you too.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">You appear to have 2 versions of Perl installed,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">the normal one in /usr/bin and one in /usr/local.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">This often happens if you have used CPAN to install modules.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I strongly advise you remove all traces of perl from</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">within /usr/local and then run this script again.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">If you do not want to do that, and really want to continue,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">then you will need to run this script as</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">        /home/richard/MailScanner-install-4.78.15/install.sh
--perl=/path/to/perl</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">substituting &#39;/path/to&#39; appropriately.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<div style="border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color windowtext; border-width: medium medium 1pt; padding: 0cm 0cm 1pt;">

<p style="border: medium none ; padding: 0cm;"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

</div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">I’ve been told Freebsd does not support rpm, so I’m just stuck
at the moment.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Rich</span></p>

</div>

</div>


<br><br></blockquote><div><br>Rich<br><br>the above debug is fine - it&#39;s says you&#39;re not running an RPM based system so it&#39;ll install inder /opt.<br><br>Now after that it sees both perls (system and ports) and as it&#39; can&#39;t work out which one to use it asks to run ./install.sh with the (non-symlinked) path to the perl binary actually used. (have a look at /usr/bin/perl and find out where it&#39;s actually going).<br>
<br>so you need to type something like the following in a ports perl example.<br><br>./install.sh --perl=/usr/local/bin/perl<br><br>then it&#39;&#39;ll install in to /opt/MailScanner-4.78.15-1 (or similar). Then you&#39;ll need to setup your MTA and MailScanner.conf by hand to route email through MailScanner, finally creating a symlink from /opt/mailscanner-&lt;version&gt; to /opt/MailScanner<br>
</div></div><br>Have a look at the install docs on the mail site and the wiki for your MTA<br clear="all"><br>-- <br>Martin Hepworth<br>Oxford, UK<br>