Skip to main content

Ports configuration

The default port configuration is defined in /opt/msh-pm/lib/defaults.cf:

#
# If you need to change MILTER_PORT remember to update also files.
# /etc/postfix/main.cf
#
MILTER_PORT=7080

#
# Communication ports.
#
SETTINGS_PORT_IN=1207
SETTINGS_PORT_OUT=1208

To override any of these values, create the file /opt/msh-pm/etc/config.cf and specify the ports you want to change, for example:

MILTER_PORT=9999
SETTINGS_PORT_IN=9090
SETTINGS_PORT_OUT=9091
note

If you change MILTER_PORT, make sure to update the corresponding value in /etc/postfix/main.cf as well so Postfix continues to communicate with the milter on the correct port.

Additional resources