On 27/09/2021 22:46, antlists wrote:
I'm trying to configure dovecot to give me a mix of virtual and real
users. It's working fine for my real id.
But it's not working for my antlists virtual id :-(
Is nobody else using virtual addresses for dovecot?
I know it's the authentication messing up, but I don't know what or how
to fix it - I don't use anything more complicated than /etc/passwd, and
it looks like it's desperate to use pam.auth and getting itself all in a
twist.
If I create the dovecot passwd file with
antlists:{PLAIN}password
thunderbird complains that there's a problem with the server.
But if I use htpasswd to create the entry in the passwd file, it complains
pam_faillock(imap:auth): User unknown
I've been trying a bunch of stuff, and it boils down to "how the hell do
I get the password to match?"
If I have the line
antlists:password
it rejects my attempt to connect with "login failed", and systemctl says
"password mismatch". But if I try to put an encrypted password in there,
the attempt to connect fails with "server disconnected".
So basically, how on earth am I supposed to get dovecot to either accept
the password I give it, or let me set the password!
(Of course, I could just give up and create a real user, but I was
hoping to avoid that!)
Cheers,
Wol