[Dovecot-de] Domain Quota + Quota Warning LMTP

Florian Schmidhuber florian.schmidhuber at stud.fh-rosenheim.de
Mo Mai 11 17:53:19 CEST 2015


Hallo Peer,

anbei die Ausgabe von doveconf -n
Ich hatte wirklich quota nicht in LMTP aktiviert aber in welchem Zusammenhang sollte dies mit den Domain Quotas stehen?
Ich kann auf jedenfall keine Veränderung feststellen.

Vielen Dank auf jedenfall schon mal euch allen.

# 2.2.9: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-042stab105.14 x86_64 Ubuntu 14.04.1 LTS 
auth_mechanisms = plain login
auth_worker_max_count = 100
base_dir = /var/run/dovecot/
login_greeting = Dovecot ready.
mail_location = auto:
mail_plugins = zlib quota
mail_privileged_group = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date ihave
mdbox_rotate_size = 10 M
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  prefix = 
  separator = /
}
passdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
plugin {
  quota = dict:User Quota::file:%h/dovecot-quota
  quota2 = dict:User Quota:%d:file:%h/dovecot-quota
  quota_exceeded_message = </etc/dovecot/quota-exceeded.txt
  quota_grace = 10%%
  quota_status_nouser = DUNNO
  quota_status_overquota = 552 5.2.2 Mailbox is full / Mailbox ist voll
  quota_status_success = DUNNO
  quota_warning = storage=90%% quota-warning 90 %Lu %Ld
  quota_warning2 = storage=80%% quota-warning 80 %Lu %Ld
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  zlib_save = gz
  zlib_save_level = 6
}
postmaster_address = postmaster at example.com
protocols = " imap lmtp sieve pop3"
service auth-worker {
  user = $default_internal_user
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0600
    user = postfix
  }
  unix_listener auth-userdb {
    group = vmail
    mode = 0600
    user = vmail
  }
}
service imap-login {
  inet_listener imap {
    port = 0
  }
  process_min_avail = 8
  service_count = 0
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
    ssl = yes
  }
}
service pop3-login {
  inet_listener pop3 {
    port = 0
  }
  process_min_avail = 8
  service_count = 0
}
service quota-status {
  client_limit = 1
  executable = quota-status -p postfix
  unix_listener /var/spool/postfix/private/quota-status {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service quota-warning {
  executable = script /etc/dovecot/quota-warning.sh
  unix_listener quota-warning {
    user = vmail
  }
  user = vmail
}
ssl = required
ssl_cert = </etc/ssl/certs/ssl-cert-snakeoil.pem
ssl_cipher_list = EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA
ssl_key = </etc/ssl/private/ssl-cert-snakeoil.key
ssl_prefer_server_ciphers = yes
ssl_protocols = !SSLv2 !SSLv3
userdb {
  driver = prefetch
}
userdb {
  args = /etc/dovecot/dovecot-sql.conf.ext
  driver = sql
}
verbose_proctitle = yes
protocol lmtp {
  mail_plugins = zlib quota quota sieve
}
protocol lda {
  mail_plugins = zlib quota sieve
}
protocol imap {
  mail_plugins = zlib quota imap_zlib imap_quota
}

Gruß
Flo



> On 11 May 2015, at 17:41, Peer Heinlein <p.heinlein at heinlein-support.de> wrote:
> 
> Am 11.05.2015 um 17:37 schrieb Florian Schmidhuber:
>> Hallo Klaus,
>> 
>> also es scheint so als würde das ganze doch nicht so ganz funktionieren
>> weil doveadm recalc -A die neu Berechnung mit Domain Quotas nicht
>> richtig macht.
> 
> Bitte "doveconf" posten.
> 
> Könnte es sein, daß Du das quota-Plugin nicht im LMTP eingebunden hast?
> 
> Peer
> 
> 
> -- 
> Heinlein Support GmbH
> Schwedter Str. 8/9b, 10119 Berlin
> 
> http://www.heinlein-support.de
> 
> Tel: 030 / 405051-42
> Fax: 030 / 405051-19
> 
> Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht
> Berlin-Charlottenburg,
> Geschäftsführer: Peer Heinlein -- Sitz: Berlin
> 
> _______________________________________________
> Dovecot Mailingliste
> JPBerlin - Politischer Provider
> Dovecot at listen.jpberlin.de
> https://listen.jpberlin.de/mailman/listinfo/dovecot

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <https://listen.jpberlin.de/pipermail/dovecot/attachments/20150511/8edf139f/attachment.html>


Mehr Informationen über die Mailingliste Dovecot