close
Mailspect Documentation
Sendmail

Maispect requires Sendmail 8.12 or higher with LibMilter. You can NOT use the Mailspect without LibMilter.

NOTE: /usr/local/MPP/configure.pl will do it's best to automatically configure Sendmail, if sendmail.mc exists (sendmail-cf RPM on RedHat/CentOS should be installed).


  • Add the following to sendmail.mc
INPUT_MAIL_FILTER(`mppd', `S=/var/run/mppd.sock, F=T,T=S:4m;R:4m;E:5m')
  • Create a new sendmail.cf file using m4
m4 sendmail.mc > /etc/mail/sendmail.cf
  • Confirm that mppd milter definitions are in sendmail.cf:
# Input mail filters
O InputMailFilters=mppd
# Milter options
O Milter.macros.connect=j, _, {daemon_name}, {if_name}, {if_addr}
O Milter.macros.helo={tls_version}, {cipher}, {cipher_bits}, {cert_subject}, {cert_issuer}
O Milter.macros.envfrom=i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {mail_mailer}, {mail_host}, {mail_addr}
O Milter.macros.envrcpt={rcpt_mailer}, {rcpt_host}, {rcpt_addr}

and

Xmppd, S=/var/run/mppd.sock, F=T, T=E:5m
  • Confirm that the mppd is running and configured for sendmail: "<email_server>sendmail</email_server>".
  • Restart Sendmail