Fix potential SQL injection and use optimizations, separate inboxes
This commit is contained in:
parent
b8292ffdb6
commit
e916481a34
|
@ -1,7 +1,7 @@
|
|||
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||
pkgname=redxen-config-dovecot
|
||||
pkgver=2021.01.14
|
||||
pkgver=2021.01.17
|
||||
pkgrel=0
|
||||
pkgdesc="Dovecot configuration"
|
||||
url="https://git.redxen.eu/RedXen"
|
||||
|
@ -22,5 +22,5 @@ package() {
|
|||
mkdir -p "$pkgdir"/var/mail
|
||||
}
|
||||
|
||||
sha512sums="7e3f78be7dc8d3a61daad0bfec6e8769943b69a448bcf907dc06c2a9c5f7d77c8f44a8162dae196456d67f4735fb6ff7a063247b641bdc8f262e00bc17e84d42 dovecot.conf
|
||||
sha512sums="3ba2d75d7f548afe6b55ea1c97a0cbca46ef95de727c2ac919485d75f1724551b190897a718308af9f8dde8e8c8dda0d177325a66d297bcb914015e71042c85d dovecot.conf
|
||||
d4646d31915b6fc0df7cc9c06d66c369f6a622f2f0c783fd9463a05a53d1b3b3ba2ebcbe32b2391f0e44fe2a67c6eeeef3b00d3067325152054e184ac67ff745 pgsql.conf"
|
||||
|
|
|
@ -12,11 +12,14 @@ protocols = imap lmtp
|
|||
ssl = yes
|
||||
ssl_cert = </etc/ssl/redxen/letsencrypt/chain.crt
|
||||
ssl_key = </etc/ssl/redxen/letsencrypt/private.key
|
||||
|
||||
# Authentication
|
||||
auth_mechanisms = plain login
|
||||
|
||||
disable_plaintext_auth = yes
|
||||
auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
|
||||
auth_username_format = %n
|
||||
disable_plaintext_auth = yes
|
||||
|
||||
# Valid users
|
||||
first_valid_uid = 8
|
||||
last_valid_uid = 8
|
||||
first_valid_gid = 12
|
||||
|
@ -70,7 +73,9 @@ service auth {
|
|||
# Mailbox
|
||||
mail_home=/var/mail/%u
|
||||
mail_location = maildir:/var/mail/%u:INBOX=/var/mail/%u/Inbox:LAYOUT=fs
|
||||
mailbox_list_index = yes
|
||||
namespace inbox {
|
||||
type = private
|
||||
inbox = yes
|
||||
mailbox Archive {
|
||||
special_use = \Archive
|
||||
|
|
Loading…
Reference in New Issue