Mailscanner.rc start up script file location
Drew Marshall
drew.marshall at technologytiger.net
Mon Dec 22 15:10:09 GMT 2008
On 22 Dec 2008, at 14:42, Hiram Gibbard wrote:
>
>
> Drew Marshall wrote:
>> On 18 Dec 2008, at 21:07, Hiram Gibbard wrote:
>>> Yes. Thats the problem. I was originally using the ports (which I
>>> prefer), but since I'm using ClamAV, I was told (From someone on
>>> this list) to use the latest version of Mailscanner in order to
>>> avoid the issues I was previously having. I would hack a current
>>> mailscanner script, but I'm not that good at stuff like that. Do I
>>> have any other options?
>>>
>> Why don't you hack the port? You will need to edit the Makefile to
>> read the right version number and edit the distinfo file to reflect
>> the right version (And change the checksums and file sizes) you
>> should then be able to make and install as normal (I don't think
>> any of the dependencies have changed so you should be fine).
>> While this is not the elegant solution the JP would create, I have
>> done this a couple of times quite successfully.
>> Drew
>
>
> OK. I am trying to hack the port. Could you tell me why I would get
> the supplied errors when running make install in the mailscanner
> directory:
>
> WHAT I DID:
> changed PORTVERSION= 4.73.4 and left everything else the same.
> Downloaded MailScanner-install-4.73.4-2.tar.gz from mailscanner.info
>
> [root at mail1 /usr/ports/mail/mailscanner/files]# md5 MailScanner-
> install-4.73.4-2.tar.gz
> MD5 (MailScanner-install-4.73.4-2.tar.gz) =
> c7590a86e4084891ff2107441f9b5fdc
>
> pasted the following into the distinfo file"
> MD5 (MailScanner-install-4.73.4-2.tar.gz) =
> c7590a86e4084891ff2107441f9b5fdc
>
> also did ls -al on the download file:
> -rw-r--r-- 1 root 100 8399013 Dec 1 10:48 MailScanner-
> install-4.73.4-2.tar.gz
>
> pasted SIZE (MailScanner-install-4.73.4-2.tar.gz) = 8399013 into
> distfile.
>
> ran make install to get the following:
>
>
> [root at mail1 /usr/ports/mail/mailscanner]# make install
> ===> Vulnerability check disabled, database not found
> ===> Found saved configuration for MailScanner-4.73.4_3
> => MailScanner-install-4.73.4-1.tar.gz is not in /usr/ports/mail/
> mailscanner/distinfo.
> => Either /usr/ports/mail/mailscanner/distinfo is out of date, or
> => MailScanner-install-4.73.4-1.tar.gz is spelled incorrectly.
> *** Error code 1
>
> Stop in /usr/ports/mail/mailscanner.
> *** Error code 1
>
> Stop in /usr/ports/mail/mailscanner.
> [root at mail1 /usr/ports/mail/mailscanner]
>
> why is it asking for MailScanner-install-4.73.4-1.tar.gz instead of
> MailScanner-install-4.73.4-2.tar.gz, which is what I put in there.
>
> Thanks
Have a look in Makefile and change PORTVERSION from1 to 2 that should
then work.
Drew
--
In line with our policy, this message has been scanned for viruses and dangerous
content by Technology Tiger's Mail Launder system <www.mail-launder.com>
Our email policy can be found at www.technologytiger.net/policy
Technology Tiger Limited is registered in Scotland with registration number: 310997
Registered Office 55-57 West High Street Inverurie AB51 3QQ
More information about the MailScanner
mailing list