Add Documentation /README files) for dovecot.
This commit is contained in:
parent
d11e1bacc3
commit
ccc627932e
4
.gitignore
vendored
4
.gitignore
vendored
@ -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
|
||||||
|
12
DOC/dovecot/README.dovecot.index
Normal file
12
DOC/dovecot/README.dovecot.index
Normal 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
|
12
DOC/dovecot/README.dovecot.recalculate_quota
Normal file
12
DOC/dovecot/README.dovecot.recalculate_quota
Normal 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
|
21
DOC/dovecot/README.dovecot.systemd
Normal file
21
DOC/dovecot/README.dovecot.systemd
Normal 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
123
DOC/dovecot/lmtp_notice.txt
Normal 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
|
Loading…
Reference in New Issue
Block a user