Checkout nicola.piazzi's howto:
viewtopic.php?t=1329
The steps needed in a nutshell
#Copy the sophos installer package to the EFA server: to /tmp
# Create software dir
Code: Select all
mkdir -p /root/software
cd /root/software
mv /tmp/sav-linux-free-9.tgz .
Extact the package:
# make /tmp executable
#After the package is extracted in /root/software/sophos-av , switch to the directory and run the following command to start the installation:
Answer the questions.
Do you accept the licence? Yes(Y)/No(N) [N]
> Y
Where do you want to install Sophos Anti-Virus? [/opt/sophos-av]
>
Do you want to enable on-access scanning? Yes(Y)/No(N) [Y]
> N
Which type of auto-updating do you want? From Sophos(s)/From own server(o)/None(n) [s]
>
Updating directly from Sophos.
Do you wish to install the Free (f) or Supported (s) version of SAV for Linux? [s]
> f
The Free version of Sophos Anti-Virus for Linux comes with no support.
Forums are available for our free tools at
http://openforum.sophos.com/
Do you need a proxy to access Sophos updates? Yes(Y)/No(N) [N]
>
Disable mail after scan
Run the following command:
Code: Select all
/opt/sophos-av/bin/savconfig set EmailDemandSummaryIfThreat disabled
Run the update command to see if it is working (this may take some time):
Remove executable from /tmp file system
# Add Sophos in
/etc/MailScanner/MailScanner.conf
# restart MailScanner