<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Having reinstalled CentOS 7 including e-mail server in initial
      software configuration it installed Postfix/Dovecot.</p>
    <p>I've been using Sendmail for 20 years and no experience with
      Postfix.  Looked in Webmin -> servers -> Postfix and
      specified Maildir, changed the 10-mail.conf to specify <br>
    </p>
    <p>mail_location = maildir:~/Maildir</p>
    <p>and everything's working. <br>
    </p>
    <p>Thanks for help.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 7/13/2018 11:44 AM, Aki Tuomi wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:201807131544.w6DFiSVp008187@vrod.rownetco.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div>Should your INBOX path be /var/spool/mail/%u then?</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div id="composer_signature">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        ---
        <div>Aki Tuomi</div>
        <div>Dovecot oy</div>
      </div>
      <div><br>
      </div>
      <div style="font-size:100%;color:#000000"><!-- originalMessage -->
        <div>-------- Original message --------</div>
        <div>From: John Rowan <a class="moz-txt-link-rfc2396E" href="mailto:rowan@rownetco.com"><rowan@rownetco.com></a> </div>
        <div>Date: 13/07/2018 17:44 (GMT+02:00) </div>
        <div>To: <a class="moz-txt-link-abbreviated" href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a> </div>
        <div>Subject: Sendmail Dovecot Trouble </div>
        <div><br>
        </div>
      </div>
      I've been struggling trying to get Thunderbird to read e-mail off
      a <br>
      CentOS 7 server.<br>
      <br>
      Sendmail writes mail in /var/spool/mail<br>
      <br>
      I've configured dovecot to try to read from there using
      Thunderbird <br>
      (POP3/SMTP).<br>
      <br>
      The firewall allows ports 25/110.<br>
      <br>
      I verified I have mail in /var/spool/mail<br>
      <br>
      but Thunderbird is unable to retrieve that mail.<br>
      <br>
      I've googled sendmail / dovecot config, I've looked a the wiki but
      I <br>
      just can't figure this out.<br>
      <br>
      Please don't suggest using postfix, I just want to get sendmail /
      <br>
      dovecot working.<br>
      <br>
      <br>
      [@mail conf.d]# dovecot --version<br>
      2.2.10<br>
      <br>
      [root@mail conf.d]# dovecot -n<br>
      # 2.2.10: /etc/dovecot/dovecot.conf<br>
      # OS: Linux 3.10.0-327.36.3.el7.i686 i686 CentOS Linux release
      7.2.1511 <br>
      (AltArch)<br>
      auth_mechanisms = plain login<br>
      disable_plaintext_auth = no<br>
      <br>
      mail_location = mbox:~/mail:INBOX=/var/mail/%u<br>
      <br>
      mbox_write_locks = fcntl<br>
      namespace inbox {<br>
        inbox = yes<br>
        location =<br>
        mailbox Drafts {<br>
          special_use = \Drafts<br>
        }<br>
        mailbox Junk {<br>
          special_use = \Junk<br>
        }<br>
        mailbox Sent {<br>
          special_use = \Sent<br>
        }<br>
        mailbox "Sent Messages" {<br>
          special_use = \Sent<br>
        }<br>
        mailbox Trash {<br>
          special_use = \Trash<br>
        }<br>
        prefix =<br>
      }<br>
      passdb {<br>
        driver = pam<br>
      }<br>
      protocols =<br>
      ssl_cert = </etc/pki/dovecot/certs/dovecot.pem<br>
      ssl_key = </etc/pki/dovecot/private/dovecot.pem<br>
      userdb {<br>
        driver = passwd<br>
      }<br>
      <br>
      <br>
      ---<br>
      This email has been checked for viruses by Avast antivirus
      software.<br>
      <a class="moz-txt-link-freetext" href="https://www.avast.com/antivirus">https://www.avast.com/antivirus</a><br>
      <br>
    </blockquote>
    <br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2">
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="https://www.avast.com/antivirus">
                                <img border=0 src="https://static.avast.com/emails/avast-mail-stamp.png" alt="Avast logo" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email has been checked for viruses by Avast antivirus software.
                                <br><a href="https://www.avast.com/antivirus">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>