Missing /rules files from MailScanner installation fromports

Res res at ausics.net
Sun Oct 8 02:09:21 IST 2006


On Sat, 7 Oct 2006, Drew Marshall wrote:

> On 7 Oct 2006, at 06:03, Michael S. wrote:
>
>> Finally somebody who has a clue!!
>
> I think that is a little harsh and along with the tone in your original 
> e-mail you are about as likely to walk to the moon as to get this fixed.
>

heh, agreed, and if he's that concerned why not do a tarball install?
It also takes 2 mins to write a quick bash file to copy custom files 
into new MS, ill save him time and give it to him so it takes 2 seconds...



#cd /opt/MailScanner-New_Version/etc
# and paste all this in one hit

mv MailScanner.conf MailScanner.conf.default
../bin/upgrade_MailScanner_conf /opt/MailScanner/etc/MailScanner.conf \ 
MailScanner.conf.default > MailScanner.conf
diff /opt/MailScanner/etc/MailScanner.conf MailScanner.conf
cp /opt/MailScanner/etc/filename.rules.conf .
cp /opt/MailScanner/etc/filetype.rules.conf .
cp /opt/MailScanner/etc/mailscanner-mrtg.conf .
cp /opt/MailScanner/etc/spam.assassin.prefs.conf .
cp /opt/MailScanner/etc/phishing.safe.sites.conf .
cd rules/
cp /opt/MailScanner/etc/rules/bounce.rules .
cp /opt/MailScanner/etc/rules/police.rules .
cp /opt/MailScanner/etc/rules/reject.msg.rules .
cp /opt/MailScanner/etc/rules/contentscan.rules .
cp /opt/MailScanner/etc/rules/spam.whitelist.rules .
cd ../reports/en
cp /opt/MailScanner/etc/reports/en/sender.content.report.txt .
cp /opt/MailScanner/etc/reports/en/rejection.report.txt .
cp /opt/MailScanner/etc/reports/en/sender.filename.report.txt .

# end

thats it, all customisations in place,it might be risky copying some of 
the prefs files, but ive beeing doing it for a while without problem.


-- 
Cheers
Res

"Just a world that we all must share, it's not enough just to stand and
stare, is it only a dream that there'll be no more turning away" - Floyd




More information about the MailScanner mailing list