I'm trying to get Dovecot working on Rocky 9.5.

In 10-mail.conf I have:
mail_privileged_group = mail
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u

In /var/spool:
drwxr-x---.  3 mail mail   64 Dec 13 16:29 mail

In /var/spool/mail:
-rw-rw----. 1 peter mail  500 Dec 13 16:29 peter


When I try to login using Telnet I get the following in /var/log/maillog:
Dec 13 17:03:23 Backup dovecot[690594]: pop3-login: Login: user=<peter>, 
method=PLAIN, rip=172.21.10.5, lip=172.21.10.5, mpid=690664, secured, 
session=<8Or5zikp7uCsFQoF>
Dec 13 17:03:23 Backup dovecot[690594]: pop3(peter)<690664><>: Error: Couldn't 
open INBOX: Permission denied
Dec 13 17:03:23 Backup dovecot[690594]: pop3(peter)<690664><>: Disconnected: 
Couldn't open INBOX: Permission denied top=0/0, retr=0/0, del=0/0, size=0

(There is a random data between <> - I've deleted it as I'm not sure if it is 
sensitive.

I'm certain I'm typing the password correctly in Telnet and I think the first 
of the three lines from the log indicate that I successfully connected. But why 
do I get Permission denied when Dovecot tries to open the INBOX? As far as I 
can see I've set them right (as per the permissions pasted above).
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to