tachtler:dovecot_quotas
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:dovecot_quotas [2015/05/21 14:49] – [Neustart] klaus | tachtler:dovecot_quotas [2015/07/09 16:50] (aktuell) – [Neustart] klaus | ||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
:!: **HINWEIS** - **Die Nachfolgende Konfiguration von [[http:// | :!: **HINWEIS** - **Die Nachfolgende Konfiguration von [[http:// | ||
* **[[tachtler: | * **[[tachtler: | ||
+ | * **[[tachtler: | ||
[[http:// | [[http:// | ||
Zeile 131: | Zeile 132: | ||
plugin { | plugin { | ||
# Tachtler | # Tachtler | ||
+ | # default: #quota_rule = *: | ||
quota_rule = *: | quota_rule = *: | ||
+ | # Tachtler | ||
+ | # default: # | ||
quota_rule2 = INBOX/ | quota_rule2 = INBOX/ | ||
- | |||
- | #quota_rule = *: | ||
- | # | ||
# LDA/LMTP allows saving the last mail to bring user from under quota to | # LDA/LMTP allows saving the last mail to bring user from under quota to | ||
Zeile 292: | Zeile 293: | ||
Eine zusätzliche Einstellung, | Eine zusätzliche Einstellung, | ||
(**Nur relevanter Ausschnitt**) | (**Nur relevanter Ausschnitt**) | ||
- | < | + | < |
... | ... | ||
plugin { | plugin { | ||
- | quota_exceeded_message = Quota exceeded, please visit http:// | + | |
+ | # default: #quota_rule = *: | ||
+ | quota_rule = *: | ||
+ | # Tachtler | ||
+ | # default: # | ||
+ | quota_rule2 = INBOX/ | ||
+ | |||
+ | # LDA/LMTP allows saving the last mail to bring user from under quota to | ||
+ | # over quota, if the quota doesn' | ||
+ | # long as quota will stay under 10% above the limit. Also allowed e.g. 10M. | ||
+ | # Tachtler | ||
+ | # default: # | ||
+ | quota_grace = 10%% | ||
+ | |||
+ | # Tachtler - example | ||
+ | # quota_exceeded_message = Quota exceeded, please visit http:// | ||
} | } | ||
... | ... | ||
Zeile 314: | Zeile 330: | ||
Die Konfigurationsdatei | Die Konfigurationsdatei | ||
* '' | * '' | ||
- | ist **aktuell** nicht im Verzeichnis ''/ | + | ist **aktuell** nicht im Verzeichnis ''/ |
< | < | ||
# vim / | # vim / | ||
Zeile 427: | Zeile 443: | ||
Siehe auch dazu den internen Link: | Siehe auch dazu den internen Link: | ||
* [[tachtler:: | * [[tachtler:: | ||
+ | * [[tachtler:: | ||
==== / | ==== / | ||
Zeile 442: | Zeile 459: | ||
<code ini> | <code ini> | ||
- | klaus@tachtler.net: | + | klaus@tachtler.net: |
- | petra@tachtler.net: | + | petra@tachtler.net: |
</ | </ | ||
Zeile 450: | Zeile 467: | ||
Hier werden nun im Bereich **''< | Hier werden nun im Bereich **''< | ||
<code ini> | <code ini> | ||
- | klaus@tachtler.net: | + | klaus@tachtler.net: |
- | petra@tachtler.net: | + | petra@tachtler.net: |
</ | </ | ||
Zeile 466: | Zeile 483: | ||
< | < | ||
# doveconf -n | # doveconf -n | ||
- | # 2.2.10: / | + | # 2.2.18: / |
- | # OS: Linux 2.6.32-431.5.1.el6.x86_64 x86_64 CentOS release | + | # OS: Linux 3.10.0-229.7.2.el7.x86_64 x86_64 CentOS |
auth_debug = yes | auth_debug = yes | ||
+ | auth_debug_passwords = yes | ||
auth_master_user_separator = * | auth_master_user_separator = * | ||
auth_mechanisms = plain digest-md5 cram-md5 login | auth_mechanisms = plain digest-md5 cram-md5 login | ||
auth_verbose = yes | auth_verbose = yes | ||
+ | listen = * | ||
mail_debug = yes | mail_debug = yes | ||
mail_location = maildir: | mail_location = maildir: | ||
Zeile 535: | Zeile 554: | ||
service quota-warning { | service quota-warning { | ||
executable = script / | executable = script / | ||
+ | unix_listener quota-warning { | ||
+ | user = vmail | ||
+ | } | ||
user = vmail | user = vmail | ||
} | } | ||
Zeile 542: | Zeile 564: | ||
ssl_key = </ | ssl_key = </ | ||
ssl_prefer_server_ciphers = yes | ssl_prefer_server_ciphers = yes | ||
- | |||
ssl_protocols = !SSLv2 !SSLv3 | ssl_protocols = !SSLv2 !SSLv3 | ||
userdb { | userdb { | ||
Zeile 561: | Zeile 582: | ||
Stopping Dovecot Imap: | Stopping Dovecot Imap: | ||
Starting Dovecot Imap: | Starting Dovecot Imap: | ||
+ | </ | ||
+ | bzw. | ||
+ | < | ||
+ | # systemctl restart dovecot | ||
</ | </ | ||
Zeile 566: | Zeile 591: | ||
< | < | ||
# netstat -tulpen | grep dovecot | # netstat -tulpen | grep dovecot | ||
- | tcp 0 0 0.0.0.0:143 | + | tcp 0 0 0.0.0.0:993 |
- | tcp 0 0 192.168.0.80:12340 0.0.0.0: | + | tcp 0 |
- | tcp 0 0 192.168.0.80: | + | tcp 0 0 192.168.0.80: |
- | tcp 0 | + | tcp 0 0 192.168.0.80:24 |
- | tcp 0 0 ::: | + | |
- | tcp 0 0 ::: | + | |
</ | </ | ||
Zeile 624: | Zeile 647: | ||
- <code ini> | - <code ini> | ||
- <code ini> | - <code ini> | ||
+ | - <code ini> | ||
Die Einlieferung bei **MTA** via '' | Die Einlieferung bei **MTA** via '' | ||
Zeile 629: | Zeile 653: | ||
erzeugen: | erzeugen: | ||
< | < | ||
- | ...postfix/ | + | ... postfix/ |
- | ...postfix/ | + | ... postfix/ |
- | ...postfix/ | + | ... postfix/ |
- | ...postfix/ | + | ... postfix/ |
- | ...dovecot: lmtp(31367): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt= | + | ... postfix/ |
- | ...dovecot: lmtp(31367): Connect from 192.168.0.80 | + | ... dovecot: lmtp(19243): Debug: none: root=, index=, indexpvt=, control=, inbox=, alt= |
- | ...dovecot: lmtp(31367): Debug: Loading modules from directory: / | + | ... dovecot: lmtp(19243): Connect from 192.168.0.80 |
- | ...dovecot: lmtp(31367): Debug: Module loaded: / | + | ... dovecot: lmtp(klaus@tachtler.net): Debug: Loading modules from directory: / |
- | ...dovecot: auth: Debug: Loading modules from directory: / | + | ... dovecot: lmtp(klaus@tachtler.net): Debug: Module loaded: / |
- | ...dovecot: auth: Debug: Module loaded: / | + | ... dovecot: auth: Debug: Loading modules from directory: / |
- | ...dovecot: auth: Debug: Module loaded: / | + | ... dovecot: auth: Debug: Module loaded: / |
- | ...dovecot: auth: Debug: Module loaded: / | + | ... dovecot: auth: Debug: Read auth token secret from / |
- | ...dovecot: auth: Debug: Read auth token secret from / | + | ... dovecot: auth: Debug: passwd-file / |
- | ...dovecot: auth: Debug: passwd-file / | + | ... dovecot: auth: Debug: passwd-file / |
- | ...dovecot: auth: Debug: passwd-file / | + | ... dovecot: auth: Debug: master in: USER |
- | ...dovecot: auth: Debug: master in: USER# | + | ... dovecot: auth: Debug: passwd-file(klaus@tachtler.net, |
- | ...dovecot: auth: Debug: passwd-file(klaus@tachtler.net, | + | ... dovecot: auth: Debug: userdb out: USER 1 klaus@tachtler.net |
- | ...dovecot: auth: Debug: userdb out: USER# | + | ... dovecot: lmtp(klaus@tachtler.net): Debug: auth input: klaus@tachtler.net uid=10000 gid=10000 home=/srv/ |
- | ...dovecot: lmtp(31367): Debug: auth input: klaus@tachtler.net uid=10000 gid=10000 home=/var/spool/ | + | ... dovecot: lmtp(klaus@tachtler.net): Debug: Added userdb setting: plugin/ |
- | ...dovecot: lmtp(31367): Debug: Added userdb setting: plugin/ | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, klaus@tachtler.net): | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, | + | ... dovecot: lmtp(klaus@tachtler.net): |
- | ...dovecot: lmtp(31367, | + | ... dovecot: lmtp(klaus@tachtler.net): |
- | ...postfix/ | + | ... postfix/ |
- | ...dovecot: lmtp(31367): Disconnect from 192.168.0.80: | + | ... postfix/ |
- | ...postfix/ | + | ... dovecot: lmtp(19243): Disconnect from 192.168.0.80: |
- | ...postfix/ | + | ... postfix/ |
</ | </ | ||
Zeile 670: | Zeile 694: | ||
< | < | ||
... | ... | ||
- | ...Debug: Quota rule: root=User quota mailbox=* bytes=1024 messages=0 | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...Debug: Quota warning: bytes=972 (95%) messages=0 reverse=no command=quota-warning 95 klaus@tachtler.net | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...Debug: Quota warning: bytes=819 (80%) messages=0 reverse=no command=quota-warning 80 klaus@tachtler.net | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
- | ...Debug: Quota grace: root=User quota bytes=102 (10%) | + | ... dovecot: lmtp(19243, klaus@tachtler.net): |
+ | ... dovecot: lmtp(19243, klaus@tachtler.net): | ||
+ | ... dovecot: lmtp(19243, klaus@tachtler.net): | ||
... | ... | ||
</ | </ | ||
Zeile 692: | Zeile 719: | ||
uid 10000 | uid 10000 | ||
gid 10000 | gid 10000 | ||
- | home /var/spool/ | + | home /srv/ |
mail maildir: | mail maildir: | ||
quota_rule | quota_rule | ||
Zeile 700: | Zeile 727: | ||
uid 10000 | uid 10000 | ||
gid 10000 | gid 10000 | ||
- | home /var/spool/ | + | home /srv/ |
mail maildir: | mail maildir: | ||
quota_rule | quota_rule | ||
Zeile 717: | Zeile 744: | ||
# doveadm quota get -u klaus@tachtler.net | # doveadm quota get -u klaus@tachtler.net | ||
Quota name Type Value Limit % | Quota name Type Value Limit % | ||
- | User quota STORAGE | + | User quota STORAGE |
User quota MESSAGE | User quota MESSAGE | ||
tachtler/dovecot_quotas.1432212577.txt.gz · Zuletzt geändert: 2015/05/21 14:49 von klaus