Mailscanner.rc start up script file location

Hiram Gibbard gibbard at
Mon Dec 22 14:42:00 GMT 2008

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:

changed PORTVERSION= 4.73.4 and left everything else the same.
Downloaded MailScanner-install-4.73.4-2.tar.gz from

[root at mail1 /usr/ports/mail/mailscanner/files]# md5 
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 

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 
=> 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.


> -- 
> In line with our policy, this message has been scanned for viruses and 
> dangerouscontent by Technology Tiger's Mail Launder system 
> <>
> Our email policy can be found at
> Technology Tiger Limited is registered in Scotland with registration 
> number: 310997
> Registered Office 55-57 West High Street Inverurie AB51 3QQ
> --MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!
> --This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.

Hiram Gibbard
Florida State University
Computer Support

Department of Chemistry
Phone: 850.644.3004
   Fax: 850.644.8281

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list