Maxsec: stuff about install.sh and FreeBSD

Martin Hepworth martinh at SOLID-STATE-LOGIC.COM
Wed Nov 30 11:17:11 GMT 2005


Jules

You sent a new copy of the install.sh to me as the original one didn't
create the link from /etc/mail/spamassassin/mailscanner.cf to
/opt/MailScanner/etc/spam.assassin.prefs.conf correctly.

Here's the file you send me...



--
Martin Hepworth 
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

> -----Original Message-----
> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Julian Field
> Sent: 29 November 2005 17:15
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: [MAILSCANNER] Maxsec: stuff about install.sh and FreeBSD
> 
> Maxsec,
> 
> I don't know your email address or anything, so have to spam the list :-(
> 
> Don't understand your last comment in IRC this afternoon.
> 
> the new install.sh you sent me for the FreeBSD mailscanner.cf sym link to
> /opt/MailScanner/etc/spam.assassi n.pref.conf needs to be included since
> the last beta
> 
> 
> What install.sh do you need? Just the standard install.sh from the
> MailScanner-install-......tar.gz?
> 
> 
> If so, this is probably the code you're looking for:
> 
> 
> echo
> echo Linking into SpamAssassin if you have it installed.
> echo
> 
> SADIR=`$PERL -MMail::SpamAssassin -e 'print Mail::SpamAssassin->new-
> >first_existing_path(@Mail::SpamAssassin::site_rules_path)' 2>/dev/null`
> 
> if [ "x$SADIR" = "x" ]; then
>   echo No SpamAssassin installation found.
> else
>   if [ -d /opt/MailScanner/etc ]; then
>     ln -s -f /opt/MailScanner/etc/spam.assassin.prefs.conf
> ${SADIR}/mailscanner.cf
>     echo Good, the link was created to /opt/MailScanner/etc
>   elif [ -d /usr/local/MailScanner/etc ]; then
>     ln -s -f /usr/local/MailScanner/etc/spam.assassin.prefs.conf
> ${SADIR}/mailscanner.cf
>     echo Good, the link was created to /usr/local/MailScanner/etc
>   elif [ -d /etc/MailScanner ]; then
>     ln -s -f /etc/MailScanner/spam.assassin.prefs.conf
> ${SADIR}/mailscanner.cf
>     echo Good, the link was created to /etc/MailScanner
>   elif [ -d /usr/local/etc/MailScanner ]; then
>     ln -s -f /usr/local/etc/MailScanner/spam.assassin.prefs.conf
> ${SADIR}/mailscanner.cf
>     echo Good, the link was created to /usr/local/etc/MailScanner
>   else
>     echo
>     echo 'WARNING: Could not find MailScanner installation directory.'
>     echo  WARNING: You must create a link in ${SADIR} called
> mailscanner.cf
>     echo  WARNING: which points to the spam.assassin.prefs.conf file in
> the
>     echo  WARNING: MailScanner etc directory.
>     echo
>     sleep 10
>   fi
> fi
> timewait 5
> 
> 
> --
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> 
> 
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/)
> and the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> 
> Support MailScanner development - buy the book off the website!


**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************


------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

    [ Part 2, Application/X-STUFFIT  5.6KB. ]
    [ Unable to print this part. ]




More information about the MailScanner mailing list