close
Mailspect Documentation
Postfix without Policy Server

Mailspect requires Postfix 1.11 or higher (recommended >= 2.3).

NOTE: /usr/local/MPP/scripts/configure.pl will perform these changes to main.cf/master.cf.

  • In /etc/postfix/main.cf add the following
# -- Added for MPP --
content_filter = mppscan:[127.0.0.1]:10025
# -- end --
  • In /etc/postfix/master.cf add the following
# -- Added for MPP --
localhost:10026 inet    n       -       n       -       10      smtpd
       -o content_filter=
       -o local_recipient_maps=
       -o relay_recipient_maps=
       -o myhostname=localhost.domain.tld
       -o smtpd_helo_restrictions=
       -o smtpd_client_restrictions=
       -o smtpd_sender_restrictions=
       -o smtpd_recipient_restrictions=permit_mynetworks,reject
       -o mynetworks=127.0.0.0/8
       -o smtpd_data_restrictions=
       -o smtpd_end_of_data_restrictions=
       -o smtpd_authorized_xforward_hosts=127.0.0.0/8

mppscan    unix    -       -       n       -       10      lmtp
       -o lmtp_send_xforward_command=yes
       -o lmtp_cache_connection=no
       -o disable_mime_output_conversion=yes
# -- end --
  • In /usr/local/MPP/mppd.conf.xml configure MTA, protocol and enable policy server
<email_server>postfix</email_server>
<email_server_in_protocol>lmtp</email_server_in_protocol>
  • Restart Postfix and Mailspect