TCP ports configuration

Milter port

The port through which the MTA will connect to the filter. This port is defined in two places:

1. /etc/msh-autoresponder/config.cf

MILTER_PORT variable is used to define this port. Default 7070.

2. /etc/postfix/main.cf or /etc/mail/sendmail.mc

With Postfix installation defined port is located in smptd_milters = inet:localhost:[PORT] line. Default 7070.

With Sendmail installation defined port is located in INPUT_MAIL_FILTER(`MSH-Autoresponder', `S=inet:[PORT]@localhost')dnl line. Default 7070.

After change of these values restart milter daemon and Postfix or Sendmail:

# /etc/init.d/msh-ar-milter restart

Postfix

# /etc/init.d/postfix reload

Sendmail

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

Settings ports

Settings daemon to communicate with external commponents like milter is using two separate TCP ports.

File config.cf to configure these ports is located in /etc/msh-autoresponder directory.

Variable SETTINGS_PORT_IN defines input port. Default 1099.

Variable SETTINGS_PORT_OUT defines output port. Default 1098.

After change of these values restart settings and milter daemon:

# /etc/init.d/msh-ar-settings-service restart # /etc/init.d/msh-ar-milter restart