Hm, with that setup I always have dovecot complaining that it couldn’t read /etc/shadow
despite me adding dovecot
to the shadow
group and /etc/shadow
having the permissions
-rw-r----- 1 root shadow 699 Nov 2 23:13 /etc/shadow
I ended up following the configuration here and manually managing an /etc/dovecot/passwd
file with users and hashed passwords. With this setup I could log in and read my emails in Thunderbird.
Thanks for your help though! Even though I couldn’t figure out how to set up using UNIX account password authentication, you still helped me figure out that the passdb/userdb settings were the issue so I could keep trying different options till they worked. And I suppose at least this method avoids the security concern of letting dovecot read my entire /etc/shadow
file.
Thanks, yeah I’m changing it now. I am new to server stuff in case that wasn’t obvious, I just got a VPS and domain name as a bit of a personal project to learn more about server stuff :) Good to know all these things!