title: Mod Evasion Email Notification Issue
body: <p>We are attempting to set up Apache Mod Evasion to prevent future DOS attacks on one of our servers. Everything seems to be working well outside of email notifications. The stack is running PHP 7.1 and Apache2.4 on Ubuntu Server 16.04.</p>
  
  <p>Email works fine via a test command:</p>
  
  <pre><code>sudo su - www-data -s /bin/bash -c 'echo "this is the body" | mail -s "Subject" webdev@domain.edu webdev@domain.edu'
  </code></pre>
  
  <p>Here is the mod evasion.conf:</p>
  
  <pre><code>&lt;IfModule mod_evasive20.c&gt;
      DOSHashTableSize    3097
      DOSPageCount        1
      DOSSiteCount        1
      DOSPageInterval     10
      DOSSiteInterval     10
      DOSBlockingPeriod   10
  
      DOSEmailNotify      root
      #DOSSystemCommand    "su - someuser -c '/sbin/... %s ...'"
      DOSLogDir           "/var/log/mod_evasive"
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>Here is the ssmtp.conf file:</p>
  
  <pre><code>root=webdev@domain.edu
  FromLineOverride=YES
  
  Debug=YES
  UseSTARTTLS=YES
  UseTLS=YES
  mailhub=email-smtp.us-east-1.amazonaws.com:465
  AuthUser=#######
  AuthPass=#######
  AuthMethod=LOGIN
  </code></pre>
  
  <p>Here is the revaliases file:</p>
  
  <pre><code>root:noreply@domain.edu:email-smtp.us-east-1.amazonaws.com:25
  www-data:noreply@domain.edu:email-smtp.us-east-1.amazonaws.com:25
  </code></pre>