Add executable bit to the installation script:
chmod +x msh-tp-milter.bin
Run as root the script with
Installation script should automatically detect Zimbra configuration. If you have multiple instances of MTA then Zimbra configuration could be wrongly detected. You can force to use Zimbra mail server, just run script with additional
Before installation could continue you need to confirm found Java path:
* Checking permissions...done. * Java version found... openjdk version "1.8.0-internal" * Path: /opt/zimbra/java You need at least version 1.8.0 (JRE 8.0), does detected version meet requirements? [y/n] y
If Java path is correct hit
y and press
When installation succeed you will see output like this:
* Running installer... * Extracting files...done. * Linking init script files...done. * Updating init scripts...done. * Copying remove script...done. * Copying diagnostic logging script...done. * Updating Zimbra MTA configuration file...done. * Starting msh-tp-settings...done. * Starting msh-tp-milter...done. * Reloading Zimbra MTA...done. * Application successfully installed (version X.Y.Z) in /opt/msh-traffic-policy. >> Using default TCP ports 1101 and 1102. Make sure that firewall is not blocking them. >> Use MSH Disclaimer & Signatures Admin Panel for configuration. >> For troubleshooting check http://mshsoftware.com/site/products/msh-tp/docs/troubleshooting.html >> or write to firstname.lastname@example.org
Now you can start configure the application with Administrator Panel.
If you have customized environment (e.g. you have Zimbra in not default directory), you can use below parameters to change default installation:
Automatic configuration of milter will be skipped. Configuration can be done manually later.
Can be used only with
--use-zimbra parameter, will specify directory where MTA is installed, when not set default MTA directory is
Application install directory, only parent path is needed, ie.
/usr/local, when not set default is
Manual installation, script will extract all needed files to current directory.