You can configure Sendmail or Postfix to stop processing emails when the Milter MTA agent is stopped.
To stop or start the Milter MTA agent
Example: On Red Hat machines the commands to stop or start the agent take this format:
/etc/init.d/wgnmilter stop /etc/init.d/wgnmilter start
To configure Sendmail to only send emails when the Milter MTA agent is running
Find this file in the Sendmail configuration directory. This directory is normally /etc/mail.
Specifies that Sendmail rejects emails arriving from an Exchange or Domino server.
Specifies that Sendmail temporarily fails emails arriving from an Exchange or Domino server.
Position the F option inbetween the S and T options. For example:
INPUT_MAIL_FILTER(`WgnMilter', `S=inet:9999@ux-mailsvr-w2k3.unipraxis.com,
F=R, T=S:4m;R:10m;E:10m')dnl
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |