The easy part:
- Download the tarball from the official website
- Unpack to somewhere
- execute <unpack-dir>/install.sh
The hard part:
Do not agree to install the missing perl modules from CPAN! Install them via the package manager. If almost every module is missing, perldoc is not installed. Debian is especially nasty here. They have a perldoc executable, even if it isn’t installed, and it only prints “the package perl-doc is not installed” or something and instructions how to install it.
Unfortunately the installer uses perldoc to figure out which modules are missing, so when it calls the stub everything is missing…
If there is a version mismatch, check if you have a CPAN-Version installed in /usr/local/<something>.
# perl -V
shows @INC at the bottom. Remove the offending package and install it via your favorite package manager.
The config part:
Generate a new config in the new etc-Directory as described in the docs. If you’re using MailWatch, don’t forget to copy
lib/MailScanner/CustomFunctions/MailWatch.pm
to the new directory. Stop mailscanner, link the new version to /opt/MailScanner or something and start it. You applaud 🙂