Add Documentation /README files) for dovecot.

This commit is contained in:
Christoph 2018-10-22 15:03:46 +02:00
parent d11e1bacc3
commit ccc627932e
5 changed files with 169 additions and 3 deletions

4
.gitignore vendored
View File

@ -1,6 +1,4 @@
!README*
# - common # - common
*.log *.log
*.swp *.swp
@ -16,7 +14,7 @@ postfixadmin-*
crontab-root* crontab-root*
# - Dovecot # - Dovecot
dovecot* dovecot-*
log* log*
# - roundcube # - roundcube

View File

@ -0,0 +1,12 @@
# ----------
# - Doveadm-Index
# ----------
# - Index users INBOX:
# -
doveadm index -u <user@domain.ltd> INBOX
# - Index INBOX for ALL users
# -
doveadm index -A

View File

@ -0,0 +1,12 @@
# ----------
# - Force Dovecot to recalculate mailbox quota
# ----------
# - Recalculate one mailbox:
# -
doveadm quota recalc -u <user@domain.ltd>
# - Recalculate ALL mail accounts:
# -
doveadm quota recalc -A

View File

@ -0,0 +1,21 @@
Debian Jessie comes with systemd so you really should not use initscript anymore but
switch to systemd for starting dovecot. There is systemd service description file available
for you in case your vendor does not provide it in the package:
https://github.com/dovecot/core/blob/master/dovecot.service.in
--
> i use ./configure with
> --with-systemdsystemunitdir=/etc/systemd/system/ and that installs the
> systemd.service and socket
That's what I missed, thank you a lot. And service seems to handle
correctly restarts
Also use:
--with-rundir=/var/run/dovecot
--

123
DOC/dovecot/lmtp_notice.txt Normal file
View File

@ -0,0 +1,123 @@
- to drop cached lmtp adress verification, delete file
/var/lib/postfix/verify_cache.db
mail RCPT TO: test-help@warenform.com
=====================================
configuration:
sql-connect.conf.ext :
user_query = SELECT.. WHERE username = substring ('%u' from '#"[^-]+#"_*@%%' for '#') || '@%d' and active = true
15-lda.conf:
recipient_delimiter =
90-sieve.conf:
recipient_delimiter =
--> stored mail into mailbox 'INBOX'
no "Error:" in dovecot.log
configuration:
sql-connect.conf.ext :
user_query = SELECT.. WHERE username = substring ('%u' from '#"[^-]+#"_*@%%' for '#') || '@%d' and active = true
15-lda.conf:
recipient_delimiter =
90-sieve.conf:
recipient_delimiter = -
--> stored mail into mailbox 'INBOX'
no "Error:" in dovecot.log
configuration:
sql-connect.conf.ext :
user_query = SELECT.. WHERE username = substring ('%u' from '#"[^-]+#"_*@%%' for '#') || '@%d' and active = true
15-lda.conf:
recipient_delimiter = -
90-sieve.conf:
recipient_delimiter =
--> stored mail into mailbox 'help'
no "Error:" in dovecot.log
configuration:
sql-connect.conf.ext :
user_query = SELECT.. WHERE username = substring ('%u' from '#"[^-]+#"_*@%%' for '#') || '@%d' and active = true
15-lda.conf:
recipient_delimiter = -
90-sieve.conf:
recipient_delimiter = -
--> stored mail into mailbox 'help'
no "Error:" in dovecot.log
configuration:
sql-connect.conf.ext :
user_query = SELECT.. WHERE username = '%u' and active = true
15-lda.conf:
recipient_delimiter =
90-sieve.conf:
recipient_delimiter =
--> 550 5.1.1 <test-help@warenform.com> User doesn't exist: ...
no "Error:" in dovecot.log
configuration:
sql-connect.conf.ext :
user_query = SELECT.. WHERE username = '%u' and active = true
15-lda.conf:
recipient_delimiter =
90-sieve.conf:
recipient_delimiter = -
--> 550 5.1.1 <test-help@warenform.com> User doesn't exist: ...
no "Error:" in dovecot.log
configuration:
sql-connect.conf.ext :
user_query = SELECT.. WHERE username = '%u' and active = true
15-lda.conf:
recipient_delimiter = -
90-sieve.conf:
recipient_delimiter =
--> stored mail into mailbox 'help'
no "Error:" in dovecot.log
configuration:
sql-connect.conf.ext :
user_query = SELECT.. WHERE username = '%u' and active = true
15-lda.conf:
recipient_delimiter = -
90-sieve.conf:
recipient_delimiter = -
--> stored mail into mailbox 'help'
no "Error:" in dovecot.log