title: Fedora 23: mail command not working
body: <p>On Fedora 21, I had a simple script for sending emails</p>
  
  <pre><code>mail -a /tmp/attachment.txt -s "..." someone@somewhere.com
  </code></pre>
  
  <p>On Fedora 23, this no longer works.</p>
  
  <pre><code>No configuration file found at /home/mike/.esmtprc or /etc/esmtprc
  </code></pre>
  
  <p>I created the file and assigned correct permissions to it.</p>
  
  <pre><code>hostname = localhost.localdomain:25
  </code></pre>
  
  <p>(That's what Fedora 21 would send emails from: mike@localhost.localdomain.)</p>
  
  <p>Well, now I'm getting</p>
  
  <pre><code>SMTP server problem Connection refused
  </code></pre>
  
  <p><strong>Question: how do I get the mail command to work on Fedora 23?</strong></p>