/var/mail is a symlink to /var/spool/mail

I tried both, neither works.

I just wiped out the server, reinstalled from scratch this time I selected e-mail server while selecting packages after specifying GUI-server on the CentOS install.

I had previously installed Dovecot after the initial server build.

This time Dovecot was installed and active at boot but still can't find my mail in /var/spool/mail.



On 7/13/2018 11:44 AM, Aki Tuomi wrote:
Should your INBOX path be /var/spool/mail/%u then?



---
Aki Tuomi
Dovecot oy

-------- Original message --------
From: John Rowan <rowan@rownetco.com>
Date: 13/07/2018 17:44 (GMT+02:00)
To: dovecot@dovecot.org
Subject: Sendmail Dovecot Trouble

I've been struggling trying to get Thunderbird to read e-mail off a
CentOS 7 server.

Sendmail writes mail in /var/spool/mail

I've configured dovecot to try to read from there using Thunderbird
(POP3/SMTP).

The firewall allows ports 25/110.

I verified I have mail in /var/spool/mail

but Thunderbird is unable to retrieve that mail.

I've googled sendmail / dovecot config, I've looked a the wiki but I
just can't figure this out.

Please don't suggest using postfix, I just want to get sendmail /
dovecot working.


[@mail conf.d]# dovecot --version
2.2.10

[root@mail conf.d]# dovecot -n
# 2.2.10: /etc/dovecot/dovecot.conf
# OS: Linux 3.10.0-327.36.3.el7.i686 i686 CentOS Linux release 7.2.1511
(AltArch)
auth_mechanisms = plain login
disable_plaintext_auth = no

mail_location = mbox:~/mail:INBOX=/var/mail/%u

mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = pam
}
protocols =
ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
ssl_key = </etc/pki/dovecot/private/dovecot.pem
userdb {
  driver = passwd
}


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com