6.2. Deployment

6.2.1. Skip Automatic Milter Install

6.2.1.1. Zimbra

When install script have problems with updating Zimbra configuration, please follow these steps.

Run an installation script with --skip-milter-install parameter:

msh-tp-milter.bin --install --skip-milter-install

This will prevent from updating Zimbra milter configuration.

Now you need to update Zimbra configuration manually. Replace [HOSTNAME] variable with your real host name. If you have installed Zimbra in not default directory change /opt/zimbra/... to your install path:

su zimbra -c '/opt/zimbra/bin/zmprov ms [HOSTNAME] zimbraMtaSmtpdMilters "inet:localhost:7074"'

To apply changes restart mail server:

su zimbra -c '/opt/zimbra/bin/zmmtactl restart'

6.2.1.2. Postfix

When there’re problems with updating Postfix configuration, please follow these steps.

Run an installation script with --skip-milter-install parameter:

msh-tp-milter.bin --install --skip-milter-install

This will prevent from updating Postfix milter configuration.

Now you need to update Postfix configuration manually:

/usr/sbin/postconf -e "inet:localhost:7074"
/usr/sbin/postconf -e "milter_default_action=accept"

To apply changes restart mail server:

/etc/init.d/postfix reload

6.2.1.3. Sendmail

When there’re problems with updating Sendmail configuration, please follow these steps.

Run an installation script with --skip-milter-install parameter:

msh-tp-milter.bin --install --skip-milter-install

This will prevent from updating Sendmail milter configuration.

Now you need to update Sendmail configuration manually, edit /etc/mail/sendmail.mc configuration file and add these lines:

INPUT_MAIL_FILTER(`MSH-Traffic-Policy', `S=inet:7074@localhost')
define(`confINPUT_MAIL_FILTERS', `MSH-Traffic-Policy')

Save changes and restart mail server:

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
/etc/init.d/sendmail restart