summaryrefslogtreecommitdiff
path: root/.config/dovecot/conf.d/auth-passwdfile.conf.ext
diff options
context:
space:
mode:
authorPaul Iannetta <paul.iannetta@ens-lyon.fr>2022-04-21 23:23:15 +0200
committerPaul Iannetta <paul.iannetta@ens-lyon.fr>2022-04-21 23:23:15 +0200
commit0e17bc4c0540c5c8fc884c783bda369ebf23c021 (patch)
treedb0a3089e839b9606ee4710a74db80d8b0922779 /.config/dovecot/conf.d/auth-passwdfile.conf.ext
parent4c48b491341d434453cb4d5a46510c74f43ded56 (diff)
add conf for dovecot as a local mail server
Diffstat (limited to '.config/dovecot/conf.d/auth-passwdfile.conf.ext')
-rwxr-xr-x.config/dovecot/conf.d/auth-passwdfile.conf.ext14
1 files changed, 14 insertions, 0 deletions
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.
+# <doc/wiki/AuthDatabase.PasswdFile.txt>
+
+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
+}