[Dovecot] How do I use a username/password plain text file as authentication backend?
I only have a single user (with multiple mail addresses) and I don't want to expose local users (no pam or /etc/passwd). Using a SQL database seems like overkill to me. So why not just a plain text file? Well, I've read http://wiki2.dovecot.org/PasswordDatabase/Static and related wiki pages, but I just can't find a clear answer. I certainly don't want to allow "any user" or "any password". Dovecot 2.0.9. Any hints for me?
On 02/26/2011 06:15 AM Angus wrote:
I only have a single user (with multiple mail addresses) and I don't want to expose local users (no pam or /etc/passwd). Using a SQL database seems like overkill to me. So why not just a plain text file? Well, I've read http://wiki2.dovecot.org/PasswordDatabase/Static and related wiki pages, but I just can't find a clear answer. I certainly don't want to allow "any user" or "any password". Dovecot 2.0.9. Any hints for me?
Are you looking for http://wiki2.dovecot.org/AuthDatabase/PasswdFile ?
Regards, Pascal
The trapper recommends today: cafefeed.1105714@localdomain.org
I only have a single user (with multiple mail addresses) and I don't want to expose local users (no pam or /etc/passwd). Using a SQL database seems like overkill to me. So why not just a plain text file? Well, I've read http://wiki2.dovecot.org/PasswordDatabase/Static and related wiki pages, but I just can't find a clear answer. I certainly don't want to allow "any user" or "any password". Dovecot 2.0.9. Any hints for me?
Are you looking for http://wiki2.dovecot.org/AuthDatabase/PasswdFile ?
Yes... apparently I am. I must've overlooked the purpose of that wiki page. I've tested that now and it works fine. Thanks a lot.
participants (2)
-
Angus
-
Pascal Volk