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-sql.conf.ext | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 .config/dovecot/conf.d/auth-sql.conf.ext (limited to '.config/dovecot/conf.d/auth-sql.conf.ext') diff --git a/.config/dovecot/conf.d/auth-sql.conf.ext b/.config/dovecot/conf.d/auth-sql.conf.ext new file mode 100755 index 0000000..ccbea86 --- /dev/null +++ b/.config/dovecot/conf.d/auth-sql.conf.ext @@ -0,0 +1,30 @@ +# Authentication for SQL users. Included from 10-auth.conf. +# +# + +passdb { + driver = sql + + # Path for SQL configuration file, see example-config/dovecot-sql.conf.ext + args = /etc/dovecot/dovecot-sql.conf.ext +} + +# "prefetch" user database means that the passdb already provided the +# needed information and there's no need to do a separate userdb lookup. +# +#userdb { +# driver = prefetch +#} + +userdb { + driver = sql + args = /etc/dovecot/dovecot-sql.conf.ext +} + +# If you don't have any user-specific settings, you can avoid the user_query +# by using userdb static instead of userdb sql, for example: +# +#userdb { + #driver = static + #args = uid=vmail gid=vmail home=/var/vmail/%u +#} -- cgit v1.2.3-54-g00ecf