From 0e17bc4c0540c5c8fc884c783bda369ebf23c021 Mon Sep 17 00:00:00 2001 From: Paul Iannetta Date: Thu, 21 Apr 2022 23:23:15 +0200 Subject: add conf for dovecot as a local mail server --- .config/dovecot/conf.d/auth-passwdfile.conf.ext | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 .config/dovecot/conf.d/auth-passwdfile.conf.ext (limited to '.config/dovecot/conf.d/auth-passwdfile.conf.ext') diff --git a/.config/dovecot/conf.d/auth-passwdfile.conf.ext b/.config/dovecot/conf.d/auth-passwdfile.conf.ext new file mode 100755 index 0000000..55c5f8a --- /dev/null +++ b/.config/dovecot/conf.d/auth-passwdfile.conf.ext @@ -0,0 +1,14 @@ +# Authentication for passwd-file users. Included from 10-auth.conf. +# +# passwd-like file with specified location. +# + +passdb { + driver = passwd-file + args = username_format=%Lu scheme=ssha512 $XDG_CONFIG_HOME/dovecot/passwd.db +} + +userdb { + driver = static + args = uid=500 gid=500 home=$HOME/.mail/%n +} -- cgit v1.2.3-54-g00ecf